VSE: Fix audio not recalculated

Changing strip offsets with RNA properties didn't tag depsgraph to
update for new strip start/end points.
This commit is contained in:
Richard Antalik 2021-07-28 17:36:28 +02:00
parent 08154d237f
commit 0088b412ff
1 changed files with 4 additions and 0 deletions

View File

@ -306,6 +306,10 @@ static void do_sequence_frame_change_update(Scene *scene, Sequence *seq)
SEQ_transform_seqbase_shuffle(seqbase, seq, scene); /* XXX: BROKEN!, uses context seqbasep. */
}
SEQ_sort(seqbase);
if (seq->type == SEQ_TYPE_SOUND_RAM) {
DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
}
}
/* A simple wrapper around above func, directly usable as prop update func.