[Bf-blender-cvs] [0471349c90d] blender-v2.83-release: Fix T78573: Crash when removing strips with prefetching

Richard Antalik noreply at git.blender.org
Wed Jul 29 10:53:10 CEST 2020


Commit: 0471349c90df9311174f43f72c22aa5e071333dc
Author: Richard Antalik
Date:   Fri Jul 10 15:57:28 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB0471349c90df9311174f43f72c22aa5e071333dc

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 8624da9e8c2..6f9be4339ec 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -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;



More information about the Bf-blender-cvs mailing list