svn merge ^/trunk/blender -r43830:43864
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 776cad6d89c07d172c1589ba233e9c4570b12177..416fbd58a30a9092cdaa33a4517dad73bab88aac 100644 (file)
@@ -2361,12 +2361,17 @@ void flushTransSeq(TransInfo *t)
 
        if (ELEM(t->mode, TFM_SEQ_SLIDE, TFM_TIME_TRANSLATE)) { /* originally TFM_TIME_EXTEND, transform changes */
                /* Special annoying case here, need to calc metas with TFM_TIME_EXTEND only */
-               seq= seqbasep->first;
 
-               while(seq) {
-                       if (seq->type == SEQ_META && seq->flag & SELECT)
+               /* calc all meta's then effects [#27953] */
+               for (seq = seqbasep->first; seq; seq = seq->next) {
+                       if (seq->type == SEQ_META && seq->flag & SELECT) {
                                calc_sequence(t->scene, seq);
-                       seq= seq->next;
+                       }
+               }
+               for (seq = seqbasep->first; seq; seq = seq->next) {
+                       if (seq->seq1 || seq->seq2 || seq->seq3) {
+                               calc_sequence(t->scene, seq);
+                       }
                }
        }