Fix T79497: Crash when removing strips with prefetching
This was already fixed by 0471349c90
but accidentally removed in refactor.
This commit is contained in:
parent
deb76548c1
commit
1ccb997c6d
Notes:
blender-bot
2023-02-14 01:52:41 +01:00
Referenced by issue #79497, VSE: Prefetch Cache makes Blender hang
|
@ -2519,6 +2519,8 @@ static int sequencer_delete_exec(bContext *C, wmOperator *UNUSED(op))
|
|||
Editing *ed = BKE_sequencer_editing_get(scene, false);
|
||||
Sequence *seq;
|
||||
|
||||
BKE_sequencer_prefetch_stop(scene);
|
||||
|
||||
SEQP_BEGIN (scene->ed, seq) {
|
||||
if (seq->flag & SELECT) {
|
||||
BKE_sequencer_flag_for_removal(scene, ed->seqbasep, seq);
|
||||
|
|
Loading…
Reference in New Issue