[Bf-blender-cvs] [52e529b82d6] blender2.8: Depsgraph: initialize scene to NULL
Sergey Sharybin
noreply at git.blender.org
Tue Nov 7 16:59:31 CET 2017
Commit: 52e529b82d66606da91107a3bf04d25e0267b78f
Author: Sergey Sharybin
Date: Tue Nov 7 16:42:40 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB52e529b82d66606da91107a3bf04d25e0267b78f
Depsgraph: initialize scene to NULL
===================================================================
M source/blender/depsgraph/intern/depsgraph.cc
===================================================================
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");
More information about the Bf-blender-cvs
mailing list