Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2020-07-10 16:57:28 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-07-10 17:16:42 +0300
commit77f823a2401c5d8236389c1baab45923d5cccb32 (patch)
tree039d1b98b25f401df84ceaeb763ae666224c3542 /source/blender
parent47e71f462361acc3a4ec9f204e5535fd2cc62b32 (diff)
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
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c2
1 files changed, 2 insertions, 0 deletions
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;