[Bf-blender-cvs] [7308542] depsgraph_refactor: Depsgraph: Ensure Scene ID block has a corresponding ID block

Joshua Leung noreply at git.blender.org
Sat Jan 24 13:55:20 CET 2015


Commit: 7308542f008db4407475f44a66c38edb62ca63b8
Author: Joshua Leung
Date:   Sat Jan 24 12:48:32 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB7308542f008db4407475f44a66c38edb62ca63b8

Depsgraph: Ensure Scene ID block has a corresponding ID block

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
index b1f3a72..4e5d9b0 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_nodes.cpp
@@ -106,6 +106,9 @@ extern "C" {
 
 void DepsgraphNodeBuilder::build_scene(Scene *scene)
 {
+	/* scene ID block */
+	add_id_node(&scene->id);
+	
 	/* timesource */
 	add_time_source(NULL);




More information about the Bf-blender-cvs mailing list