Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-11-24 12:44:38 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-11-24 12:44:38 +0300
commit9ea42028166f46b9cc55519ea3f446c872c91aac (patch)
treeb714e4ffb88a86662934c737db2269377e095e3a /source/blender/depsgraph
parentf7c987b0ab08f6121f6107a491d6fdb9a737858c (diff)
Fix T46839: New dependency graph missed time update on motrack constraints
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_build_relations.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc
index dfa7413d806..f027fc8c3c1 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};