Fix T95353: Crash with proxy auto building
Proxy building data were freed before process was started. Reviewed By: sergey Differential Revision: https://developer.blender.org/D13972
This commit is contained in:
parent
83b6c8f2b1
commit
a12265f048
Notes:
blender-bot
2023-02-14 08:06:35 +01:00
Referenced by issue #95353, Instant Crash when adding a Movie Strip to VSE
|
@ -739,15 +739,15 @@ static int sequencer_add_movie_strip_exec(bContext *C, wmOperator *op)
|
|||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
/* Free custom data. */
|
||||
sequencer_add_cancel(C, op);
|
||||
SEQ_collection_free(movie_strips);
|
||||
|
||||
seq_build_proxy(C, movie_strips);
|
||||
DEG_relations_tag_update(bmain);
|
||||
DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
|
||||
|
||||
/* Free custom data. */
|
||||
sequencer_add_cancel(C, op);
|
||||
SEQ_collection_free(movie_strips);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue