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
path: root/source
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2022-02-02 00:46:04 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-02-02 00:46:04 +0300
commita12265f0488fda1d67910a26293845ba5937c87e (patch)
tree7077eddc900dc9c50e6d0f8817240db9d484930b /source
parent83b6c8f2b1e3899680e807ced8ebd8d7ae77ce2d (diff)
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
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_add.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index 15ee35f375d..aef6b30986d 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -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;
}