forked from bartvdbraak/blender
Fix #31970: Crash, whith Sequencer Swap Data-Function
This commit is contained in:
parent
e2e79b9e10
commit
7963c4c35e
@ -2694,8 +2694,11 @@ static int sequencer_swap_data_exec(bContext *C, wmOperator *op)
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
sound_remove_scene_sound(scene, seq_act->scene_sound);
|
||||
sound_remove_scene_sound(scene, seq_other->scene_sound);
|
||||
if (seq_act->scene_sound)
|
||||
sound_remove_scene_sound(scene, seq_act->scene_sound);
|
||||
|
||||
if (seq_other->scene_sound)
|
||||
sound_remove_scene_sound(scene, seq_other->scene_sound);
|
||||
|
||||
seq_act->scene_sound = NULL;
|
||||
seq_other->scene_sound = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user