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:
@@ -2442,6 +2442,8 @@ static int sequencer_delete_exec(bContext *C, wmOperator *UNUSED(op))
|
|||||||
MetaStack *ms;
|
MetaStack *ms;
|
||||||
bool nothing_selected = true;
|
bool nothing_selected = true;
|
||||||
|
|
||||||
|
BKE_sequencer_prefetch_stop(scene);
|
||||||
|
|
||||||
seq = BKE_sequencer_active_get(scene);
|
seq = BKE_sequencer_active_get(scene);
|
||||||
if (seq && seq->flag & SELECT) { /* Avoid a loop since this is likely to be selected. */
|
if (seq && seq->flag & SELECT) { /* Avoid a loop since this is likely to be selected. */
|
||||||
nothing_selected = false;
|
nothing_selected = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user