Blender Git Commit Log
Git Commits -> Revision 9d08f2d
Revision 9d08f2d by Richard Antalik (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt, ui-asset-view-template) March 3, 2021, 17:15 (GMT) |
VSE: Refactor VSE strip loading code Isolate RNA and operator logic from functions that create strips. - Operator specific code was removed from `SeqLoadInfo` structure and `SEQ_add_*` functions. - Strip loading code was removed from RNA and operator functions. - `SEQ_add_*` API was unified to work on `SeqLoadData` struct. Only exception is image strip, which require files to be loaded separately to strip creation itself. This is not ideal, but I think it's acceptable. - Some functions and variables were refactored so the code reads better. There are minor functional changes (coincidental bugfixes): - Operator errors are reported per-strip. Previously they were not reported at all? - `new_sound()` RNA API function now create sound with length of 1 if source file does not exist. Previously it created strip with length of 0. - Replace selection operator property wasn't working correctly. Fixed in this patch. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9760 |
Commit Details:
Full Hash: 9d08f2d69a3a8032f951c719e6432dcff5917978
Parent Commit: 19e6db3
Committed By: Julian Eisel
Lines Changed: +765, -636
5 Modified Paths:
/source/blender/editors/space_sequencer/sequencer_add.c (+298, -283) (Diff)
/source/blender/makesrna/intern/rna_sequencer_api.c (+65, -131) (Diff)
/source/blender/sequencer/intern/render.c (+0, -28) (Diff)
/source/blender/sequencer/intern/strip_add.c (+342, -159) (Diff)
/source/blender/sequencer/SEQ_add.h (+60, -35) (Diff)
/source/blender/makesrna/intern/rna_sequencer_api.c (+65, -131) (Diff)
/source/blender/sequencer/intern/render.c (+0, -28) (Diff)
/source/blender/sequencer/intern/strip_add.c (+342, -159) (Diff)
/source/blender/sequencer/SEQ_add.h (+60, -35) (Diff)