[Bf-blender-cvs] [77f823a2401] master: Fix T78573: Crash when removing strips with prefetching
Richard Antalik
noreply at git.blender.org
Fri Jul 10 16:16:59 CEST 2020
Commit: 77f823a2401c5d8236389c1baab45923d5cccb32
Author: Richard Antalik
Date: Fri Jul 10 15:57:28 2020 +0200
Branches: master
https://developer.blender.org/rB77f823a2401c5d8236389c1baab45923d5cccb32
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
===================================================================
M source/blender/editors/space_sequencer/sequencer_edit.c
===================================================================
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 7178f32f182..0d8e0a87694 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -2607,6 +2607,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;
More information about the Bf-blender-cvs
mailing list