Fix T46839: New dependency graph missed time update on motrack constraints

This commit is contained in:
Sergey Sharybin 2015-11-24 14:44:38 +05:00
parent f7c987b0ab
commit 9ea4202816

@ -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); add_relation(camera_key, constraint_op_key, DEPSREL_TYPE_TRANSFORM, cti->name);
} }
/* tracker <-> constraints */ /* TODO(sergey): This is more a TimeSource -> MovieClip -> Constraint dependency chain. */
// FIXME: actually motionclip dependency on results of motionclip block here... TimeSourceKey time_src_key;
//dag_add_relation(dag, scenenode, node, DAG_RL_SCENE, "Scene Relation"); add_relation(time_src_key, constraint_op_key, DEPSREL_TYPE_TIME, "[TimeSrc -> Animation]");
} }
else if (cti->get_constraint_targets) { else if (cti->get_constraint_targets) {
ListBase targets = {NULL, NULL}; ListBase targets = {NULL, NULL};