diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-07 18:42:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-07 18:42:40 +0300 |
commit | 52e529b82d66606da91107a3bf04d25e0267b78f (patch) | |
tree | a2cd3082152102da23ab5a1d096ffd2c89af8b7e | |
parent | ba1197fe5e27f1cb7be281b3f20166a69050a273 (diff) |
Depsgraph: initialize scene to NULL
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.cc | 3 |
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"); |