[Bf-blender-cvs] [d5809b39d5b] blender-v2.83-release: Fix T78999: Crash when adjusting sequencer property
Richard Antalik
noreply at git.blender.org
Wed Jul 29 10:53:12 CEST 2020
Commit: d5809b39d5b27ce34d55f00e3d41c4d0409aa6ab
Author: Richard Antalik
Date: Sat Jul 25 02:52:16 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBd5809b39d5b27ce34d55f00e3d41c4d0409aa6ab
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 7a0233d173a..685335fe600 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -4306,6 +4306,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