Fix VSE updating effects within metas

Missing update caused internal lengths to be wrong.
This commit is contained in:
Campbell Barton 2016-06-15 02:43:25 +10:00
parent a3a7e46318
commit eaf894db6d
Notes: blender-bot 2023-02-14 07:49:12 +01:00
Referenced by issue #48651, Allow CUDA GPU rendering to use host memory
1 changed files with 14 additions and 0 deletions

View File

@ -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