Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-05-19 00:38:33 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-05-19 00:41:47 +0300
commitd373b43f07f5403826035b5dee71b09f433b0540 (patch)
tree88bfe141f78f611a891e868f0dccb5a5fe31cbe0 /source/blender/sequencer/intern/utils.h
parentf7a14c116c4de9a0ac2a07d7c6fa3097a018a668 (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/intern/utils.h')
-rw-r--r--source/blender/sequencer/intern/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/sequencer/intern/utils.h b/source/blender/sequencer/intern/utils.h
index 97f33bb3ae0..0ec78a6cfa5 100644
--- a/source/blender/sequencer/intern/utils.h
+++ b/source/blender/sequencer/intern/utils.h
@@ -34,6 +34,7 @@ void seq_open_anim_file(struct Scene *scene, struct Sequence *seq, bool openfile
struct Sequence *seq_find_metastrip_by_sequence(ListBase *seqbase /* = ed->seqbase */,
struct Sequence *meta /* = NULL */,
struct Sequence *seq);
+void seq_sort_seqbase(ListBase *seqbase);
#ifdef __cplusplus
}