diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-05-19 00:38:33 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-05-19 00:41:47 +0300 |
commit | d373b43f07f5403826035b5dee71b09f433b0540 (patch) | |
tree | 88bfe141f78f611a891e868f0dccb5a5fe31cbe0 /source/blender/sequencer/SEQ_utils.h | |
parent | f7a14c116c4de9a0ac2a07d7c6fa3097a018a668 (diff) |
VSE: Better handling of effect strip splitting
Splitting of effect strip alone wasn't handled properly. Previously
this resulted in duplicating effect strip, and it was broken at least
from 2.79.
Change in rB8ec6b34b8eb2 was intended to allow splitting strips
individually, so it can be used as RNA API function but also so it
requires as little glue logic as possible.
This is fixed by splitting all dependent strips at once in 2 separate
ListBases for left and right strips. Strips can be finally moved into
original `ListBase`.
With this fix it is still possible to split strips individually with
little glue logic. RNA API function could return list of split strips
as well, currently at least one strip in chain will be provided so
chain can be reconstructed on python side.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D10209
Diffstat (limited to 'source/blender/sequencer/SEQ_utils.h')
-rw-r--r-- | source/blender/sequencer/SEQ_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/sequencer/SEQ_utils.h b/source/blender/sequencer/SEQ_utils.h index 52fac5d7d0e..361246d74c5 100644 --- a/source/blender/sequencer/SEQ_utils.h +++ b/source/blender/sequencer/SEQ_utils.h @@ -60,6 +60,7 @@ int SEQ_seqbase_recursive_apply(struct ListBase *seqbase, int SEQ_recursive_apply(struct Sequence *seq, int (*apply_fn)(struct Sequence *, void *), void *arg); +void SEQ_ensure_unique_name(struct Sequence *seq, struct Scene *scene); #ifdef __cplusplus } #endif |