Shuffle only selected sequence blocks.
authorMartin Poirier <theeth@yahoo.com>
Sat, 28 Mar 2009 22:01:07 +0000 (22:01 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sat, 28 Mar 2009 22:01:07 +0000 (22:01 +0000)
source/blender/editors/transform/transform_conversions.c

index d1991a6..1e7820f 100644 (file)
@@ -4395,7 +4395,7 @@ void special_aftertrans_update(TransInfo *t)
                        for (machine = 0; machine <= max_machine; machine++)
                        {
                                for(seq= seqbasep->first; seq; seq= seq->next) {
-                                       if (seq->machine == machine && seq->depth==0 && seq->flag & SEQ_OVERLAP) {
+                                       if (seq->machine == machine && seq->depth == 0 && (seq->flag & (SEQ_LEFTSEL|SEQ_RIGHTSEL)) != 0 && (seq->flag & SEQ_OVERLAP)) {
                                                shuffle_seq(seqbasep, seq);
                                        }
                                }