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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-11-07 18:42:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-07 18:42:40 +0300
commit52e529b82d66606da91107a3bf04d25e0267b78f (patch)
treea2cd3082152102da23ab5a1d096ffd2c89af8b7e
parentba1197fe5e27f1cb7be281b3f20166a69050a273 (diff)
Depsgraph: initialize scene to NULL
-rw-r--r--source/blender/depsgraph/intern/depsgraph.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc
index 8f9f9182bc6..03e5f2235bb 100644
--- a/source/blender/depsgraph/intern/depsgraph.cc
+++ b/source/blender/depsgraph/intern/depsgraph.cc
@@ -82,7 +82,8 @@ static DEG_EditorUpdateScenePreCb deg_editor_update_scene_pre_cb = NULL;
Depsgraph::Depsgraph()
: time_source(NULL),
- need_update(true)
+ need_update(true),
+ scene(NULL)
{
BLI_spin_init(&lock);
id_hash = BLI_ghash_ptr_new("Depsgraph id hash");