Fix T51661: Swaping strips does not refresh sequencer

This commit is contained in:
Sergey Sharybin 2017-05-31 14:26:04 +02:00
parent 140d9a9b15
commit a51dccc6f3
Notes: blender-bot 2023-02-14 11:34:30 +01:00
Referenced by issue #51661, Swaping strips does not refresh sequencer
1 changed files with 3 additions and 0 deletions

View File

@ -3352,6 +3352,9 @@ static int sequencer_swap_data_exec(bContext *C, wmOperator *op)
if (seq_act->sound) BKE_sound_add_scene_sound_defaults(scene, seq_act);
if (seq_other->sound) BKE_sound_add_scene_sound_defaults(scene, seq_other);
BKE_sequence_invalidate_cache(scene, seq_act);
BKE_sequence_invalidate_cache(scene, seq_other);
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
return OPERATOR_FINISHED;