Commit: 8bec1cbbb48a3763c464c12ac7a719343fad3ef9
Author: Joshua Leung
Date:   Fri Jan 16 14:59:07 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB8bec1cbbb48a3763c464c12ac7a719343fad3ef9

Depsgraph: Added in missing calls to handle relations for subdata hanging off 
scene

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp 
b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index 69e80af..292f895 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -256,6 +256,21 @@ void DepsgraphRelationBuilder::build_scene(Scene *scene)
                }
        }
 #endif
+       
+       /* scene's animation and drivers */
+       if (scene->adt) {
+               build_animdata(&scene->id);
+       }
+       
+       /* world */
+       if (scene->world) {
+               build_world(scene, scene->world);
+       }
+       
+       /* compo nodes */
+       if (scene->nodetree) {
+               build_compositor(scene);
+       }
 }
 
 void DepsgraphRelationBuilder::build_object(Scene *scene, Object *ob)

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

Reply via email to