[Bf-blender-cvs] [759bee4] depsgraph_refactor: Depsgraph: Fix uninitialized variable

Sergey Sharybin noreply at git.blender.org
Mon Mar 23 15:57:57 CET 2015


Commit: 759bee45616d4bb19fe313bc198fd4ffb99aa6d0
Author: Sergey Sharybin
Date:   Mon Mar 23 19:57:41 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB759bee45616d4bb19fe313bc198fd4ffb99aa6d0

Depsgraph: Fix uninitialized variable

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

M	source/blender/depsgraph/intern/depsgraph.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph.cpp b/source/blender/depsgraph/intern/depsgraph.cpp
index a2c55a8..54fa44f 100644
--- a/source/blender/depsgraph/intern/depsgraph.cpp
+++ b/source/blender/depsgraph/intern/depsgraph.cpp
@@ -55,6 +55,7 @@ static DEG_EditorUpdateSceneCb deg_editor_update_scene_cb = NULL;
 
 Depsgraph::Depsgraph()
   : root_node(NULL),
+    need_update(false),
     layers((1 << 20) - 1)
 {
 	BLI_spin_init(&lock);




More information about the Bf-blender-cvs mailing list