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
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2020-07-25 03:52:16 +0300
committerJeroen Bakker <jeroen@blender.org>2020-07-29 11:18:54 +0300
commitd5809b39d5b27ce34d55f00e3d41c4d0409aa6ab (patch)
tree19a85753ca3e9d935e220d6328669c14c0335a5a
parent573972ff41f90415c6f7ebfd51385c97976441d0 (diff)
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
-rw-r--r--source/blender/blenkernel/intern/sequencer.c4
1 files changed, 4 insertions, 0 deletions
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);