Fix T78573: Crash when removing strips with prefetching

Stop prefetching before changing content of seqbase.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8256
This commit is contained in:
2020-07-10 15:57:28 +02:00
committed by Jeroen Bakker
parent 833f67bf51
commit 0471349c90

View File

@@ -2442,6 +2442,8 @@ static int sequencer_delete_exec(bContext *C, wmOperator *UNUSED(op))
MetaStack *ms;
bool nothing_selected = true;
BKE_sequencer_prefetch_stop(scene);
seq = BKE_sequencer_active_get(scene);
if (seq && seq->flag & SELECT) { /* Avoid a loop since this is likely to be selected. */
nothing_selected = false;