Fix T65814: Copy pasting audio strip from video crash Blender

This commit is contained in:
Sergey Sharybin 2019-06-14 22:47:34 +02:00
parent 0707177ab8
commit f640701858
Notes: blender-bot 2023-02-14 09:21:21 +01:00
Referenced by issue #65814, Copy pasting audio strip from video crash Blender
1 changed files with 1 additions and 4 deletions

View File

@ -3439,10 +3439,6 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
}
}
for (iseq = nseqbase.first; iseq; iseq = iseq->next) {
BKE_sequence_sound_init(scene, iseq);
}
iseq_first = nseqbase.first;
BLI_movelisttolist(ed->seqbasep, &nseqbase);
@ -3459,6 +3455,7 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
}
}
DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
return OPERATOR_FINISHED;