From d5edeb526cd980b9bccce5d174593c5306dada63 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 11 Dec 2007 14:58:23 +0000 Subject: [PATCH] Bugfix for constraint lagging with local ipo's. For some reason the depsgraph relations for constraints with a local ipo were being skipped, but I have no idea why this code was added? Uncommenting it seems to work fine. --- source/blender/blenkernel/intern/depsgraph.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index 1c5ec61a22e..1076641b4c5 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -2189,7 +2189,11 @@ void DAG_pose_sort(Object *ob) node2 = dag_get_node(dag, target); dag_add_relation(dag, node2, node, 0); dag_add_parent_relation(dag, node2, node, 0); - cti= NULL; /* trick to get next loop skipped */ + + /* uncommented this line, results in dependencies + * not being added properly for this constraint, + * what is the purpose of this? - brecht */ + /*cti= NULL;*/ /* trick to get next loop skipped */ } } }