Fix #33674: Meta strip could overlap with other strips when exiting edit mode
Not sure what's the best thing to do here, for now just added vertical shuffle of meta strip if it overlaps with other strips when existing edit mode.
This commit is contained in:
@@ -1906,6 +1906,9 @@ static int sequencer_meta_toggle_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
for (seq = ed->seqbasep->first; seq; seq = seq->next)
|
||||
BKE_sequence_calc(scene, seq);
|
||||
|
||||
if (BKE_sequence_test_overlap(ed->seqbasep, ms->parseq))
|
||||
BKE_sequence_base_shuffle(ed->seqbasep, ms->parseq, scene);
|
||||
|
||||
BKE_sequencer_active_set(scene, ms->parseq);
|
||||
|
||||
ms->parseq->flag |= SELECT;
|
||||
|
||||
Reference in New Issue
Block a user