diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-06-20 16:09:05 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-06-20 16:09:05 +0400 |
commit | ba54e09fb7134eae5f0c1f9185df835c5c11bfbf (patch) | |
tree | c6f68fbfa9e2abc9743a244556840b4c625e3ec2 /source/blender/blenkernel | |
parent | 8975e34439288957a798429e0f93402cc69377f3 (diff) |
== Clamp To Constraint ==
Now when editing the curve that an Object with a Clamp To Constraint uses as its target, the Object's position will be updated in realtime to match to changes in the curve.
I was going to have this working for bones too, but I haven't got that quite working yet.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/depsgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index a71ed731b07..bc3bbee9342 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -573,7 +573,7 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Object *ob, int Object *obt= get_constraint_target(con, &str); node2 = dag_get_node(dag, obt); - if(con->type==CONSTRAINT_TYPE_FOLLOWPATH) + if(ELEM(con->type, CONSTRAINT_TYPE_FOLLOWPATH, CONSTRAINT_TYPE_CLAMPTO)) dag_add_relation(dag, node2, node, DAG_RL_DATA_OB|DAG_RL_OB_OB); else { if(obt->type==OB_ARMATURE && str[0]) |