== 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.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user