Fix T78129: No audio playback with sound strip pasted to a new scene

Add DEG_relations_tag_update(bmain).

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8130
This commit is contained in:
Richard Antalik 2020-06-26 16:59:01 +02:00
parent 4006cd2d2c
commit e6e67da4ea
Notes: blender-bot 2023-02-14 05:28:01 +01:00
Referenced by issue #78129, Audio playback doesn't work when a VSE sound strip is copy/pasted to a new scene
1 changed files with 1 additions and 0 deletions

View File

@ -3472,6 +3472,7 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
}
DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
DEG_relations_tag_update(bmain);
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
ED_outliner_select_sync_from_sequence_tag(C);