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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-11 17:58:23 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-12-11 17:58:23 +0300
commitd5edeb526cd980b9bccce5d174593c5306dada63 (patch)
tree2b308c1acf3ff25c30c7e693e4b27d9f397afdc1 /source/blender/blenkernel
parent60972ad45865682ad97202785d3cee4f48466575 (diff)
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.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c6
1 files changed, 5 insertions, 1 deletions
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 */
}
}
}