Commit: c76c5b11f19dec946ea2f71f1bec8603a2b0c426
Author: Kévin Dietrich
Date:   Fri Jun 3 14:17:43 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBc76c5b11f19dec946ea2f71f1bec8603a2b0c426

Add new transform cache constraint in the new depsgraph.

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

M       source/blender/depsgraph/intern/builder/deg_builder_relations.cc

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

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc 
b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 10aebb7..cfc9172 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -570,7 +570,7 @@ void DepsgraphRelationBuilder::build_constraints(Scene 
*scene, ID *id, eDepsNode
 
                /* special case for camera tracking -- it doesn't use targets 
to define relations */
                // TODO: we can now represent dependencies in a much richer 
manner, so review how this is done...
-               if (ELEM(cti->type, CONSTRAINT_TYPE_FOLLOWTRACK, 
CONSTRAINT_TYPE_CAMERASOLVER, CONSTRAINT_TYPE_OBJECTSOLVER)) {
+               if (ELEM(cti->type, CONSTRAINT_TYPE_FOLLOWTRACK, 
CONSTRAINT_TYPE_CAMERASOLVER, CONSTRAINT_TYPE_OBJECTSOLVER, 
CONSTRAINT_TYPE_TRANSFORMCACHE)) {
                        bool depends_on_camera = false;
 
                        if (cti->type == CONSTRAINT_TYPE_FOLLOWTRACK) {

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

Reply via email to