[Bf-blender-cvs] [9ea4202] master: Fix T46839: New dependency graph missed time update on motrack constraints
Sergey Sharybin
noreply at git.blender.org
Tue Nov 24 10:45:08 CET 2015
Commit: 9ea42028166f46b9cc55519ea3f446c872c91aac
Author: Sergey Sharybin
Date: Tue Nov 24 14:44:38 2015 +0500
Branches: master
https://developer.blender.org/rB9ea42028166f46b9cc55519ea3f446c872c91aac
Fix T46839: New dependency graph missed time update on motrack constraints
===================================================================
M source/blender/depsgraph/intern/depsgraph_build_relations.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
index dfa7413..f027fc8 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
@@ -565,9 +565,9 @@ void DepsgraphRelationBuilder::build_constraints(Scene *scene, ID *id, eDepsNode
add_relation(camera_key, constraint_op_key, DEPSREL_TYPE_TRANSFORM, cti->name);
}
- /* tracker <-> constraints */
- // FIXME: actually motionclip dependency on results of motionclip block here...
- //dag_add_relation(dag, scenenode, node, DAG_RL_SCENE, "Scene Relation");
+ /* TODO(sergey): This is more a TimeSource -> MovieClip -> Constraint dependency chain. */
+ TimeSourceKey time_src_key;
+ add_relation(time_src_key, constraint_op_key, DEPSREL_TYPE_TIME, "[TimeSrc -> Animation]");
}
else if (cti->get_constraint_targets) {
ListBase targets = {NULL, NULL};
More information about the Bf-blender-cvs
mailing list