svn merge ^/trunk/blender -r46684:46699
This commit is contained in:
@@ -4057,7 +4057,47 @@ static void freeSeqData(TransInfo *t)
|
||||
}
|
||||
}
|
||||
|
||||
#if 1 /* (mango hack! - for Ian) this is truely bad - should _never_ be in a release :| */
|
||||
if (CTX_wm_window(t->context)->eventstate->alt) {
|
||||
int minframe = MAXFRAME;
|
||||
td= t->data;
|
||||
seq_prev= NULL;
|
||||
for (a=0; a<t->total; a++, td++) {
|
||||
seq= ((TransDataSeq *)td->extra)->seq;
|
||||
if ((seq != seq_prev)) {
|
||||
minframe = MIN2(minframe, seq->startdisp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (seq= seqbasep->first; seq; seq= seq->next) {
|
||||
if (!(seq->flag & SELECT)) {
|
||||
if (seq->startdisp >= minframe) {
|
||||
seq->machine += MAXSEQ * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
shuffle_seq_time(seqbasep, t->scene);
|
||||
|
||||
for (seq= seqbasep->first; seq; seq= seq->next) {
|
||||
if (seq->machine >= MAXSEQ * 2) {
|
||||
seq->machine -= MAXSEQ * 2;
|
||||
seq->tmp= (void*)1;
|
||||
}
|
||||
else {
|
||||
seq->tmp= NULL;
|
||||
}
|
||||
}
|
||||
|
||||
shuffle_seq_time(seqbasep, t->scene);
|
||||
}
|
||||
else {
|
||||
shuffle_seq_time(seqbasep, t->scene);
|
||||
}
|
||||
#else
|
||||
shuffle_seq_time(seqbasep, t->scene);
|
||||
#endif
|
||||
|
||||
if (has_effect) {
|
||||
/* update effects strips based on strips just moved in time */
|
||||
|
||||
Reference in New Issue
Block a user