[Bf-blender-cvs] [f2907b06f4d] blender-v2.90-release: Fix T78999: Crash when adjusting sequencer property
Richard Antalik
noreply at git.blender.org
Sun Jul 26 15:04:02 CEST 2020
Commit: f2907b06f4dacb87b41d464074f21068f27e8204
Author: Richard Antalik
Date: Sat Jul 25 02:52:16 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rBf2907b06f4dacb87b41d464074f21068f27e8204
Fix T78999: Crash when adjusting sequencer property
Sequencer was not initialized yet, and RNA update function tried to clean up cache.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D8323
===================================================================
M source/blender/blenkernel/intern/sequencer.c
===================================================================
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 31ae71622f7..2373a052f46 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -4301,6 +4301,10 @@ void BKE_sequence_invalidate_movieclip_strips(Main *bmain, MovieClip *clip_targe
void BKE_sequencer_free_imbuf(Scene *scene, ListBase *seqbase, bool for_render)
{
+ if (scene->ed == NULL) {
+ return;
+ }
+
Sequence *seq;
BKE_sequencer_cache_cleanup(scene);
More information about the Bf-blender-cvs
mailing list