[Bf-blender-cvs] [8bec1cb] depsgraph_refactor: Depsgraph: Added in missing calls to handle relations for subdata hanging off scene
Joshua Leung
noreply at git.blender.org
Fri Jan 16 05:05:55 CET 2015
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)
More information about the Bf-blender-cvs
mailing list