[Bf-blender-cvs] [e4dc44d] master: Depsgraph: Fix for uninitialized variable in root depsnode

Sergey Sharybin noreply at git.blender.org
Tue May 26 08:35:58 CEST 2015


Commit: e4dc44d7ab74c7f02aa275ba40003048bc23be02
Author: Sergey Sharybin
Date:   Tue May 26 11:34:18 2015 +0500
Branches: master
https://developer.blender.org/rBe4dc44d7ab74c7f02aa275ba40003048bc23be02

Depsgraph: Fix for uninitialized variable in root depsnode

===================================================================

M	source/blender/depsgraph/intern/depsnode.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/depsnode.cc b/source/blender/depsgraph/intern/depsnode.cc
index e108e56..f4097bc 100644
--- a/source/blender/depsgraph/intern/depsnode.cc
+++ b/source/blender/depsgraph/intern/depsnode.cc
@@ -118,7 +118,7 @@ void TimeSourceDepsNode::tag_update(Depsgraph *graph)
 
 /* Root Node ============================================== */
 
-RootDepsNode::RootDepsNode() : time_source(NULL)
+RootDepsNode::RootDepsNode() : time_source(NULL), scene(NULL)
 {
 }




More information about the Bf-blender-cvs mailing list