Blender Git Commit Log

Git Commits -> Revision bbb1936

Revision bbb1936 by Richard Antalik (master)
March 2, 2021, 11:23 (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

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:

Commit Details:

Full Hash: bbb1936411a5f98f5a49ed0d63bcf1a547cbdb59
Parent Commit: b279fef
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021