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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to