diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-14 19:43:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-14 19:44:34 +0300 |
commit | eaf894db6d9d34c924f87071c6e3f736a4124791 (patch) | |
tree | 24f123b9b22e8320409da13967c0f8aa03afa1c3 /source/blender | |
parent | a3a7e46318cf7fe7ec2ba4d000097ec889163e3e (diff) |
Fix VSE updating effects within metas
Missing update caused internal lengths to be wrong.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index f7c3bc1820b..b9fee448c33 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -2676,6 +2676,20 @@ void flushTransSeq(TransInfo *t) BKE_sequence_calc(t->scene, seq); } } + + /* update effects inside meta's */ + for (a = 0, seq_prev = NULL, td = t->data, td2d = t->data2d; + a < t->total; + a++, td++, td2d++, seq_prev = seq) + { + tdsq = (TransDataSeq *)td->extra; + seq = tdsq->seq; + if ((seq != seq_prev) && (seq->depth != 0)) { + if (seq->seq1 || seq->seq2 || seq->seq3) { + BKE_sequence_calc(t->scene, seq); + } + } + } } /* need to do the overlap check in a new loop otherwise adjacent strips |