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:
authorJoshua Leung <aligorith@gmail.com>2009-10-09 16:16:58 +0400
committerJoshua Leung <aligorith@gmail.com>2009-10-09 16:16:58 +0400
commit9f7038c5a73d8e73b858a129561d4721481f62e2 (patch)
tree64ec765066f9935bab94656be7afc79ff39283a2 /source/blender/blenkernel/intern/depsgraph.c
parent488c06d1827d5bf5d02a22fcc11a1dfeb50143a7 (diff)
* Warning fixes for previous commit for Modifier renaming.
* Removed some old code (depsgraph) that was already commented out
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index a8cec6070a0..ec054bc47cd 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -2391,29 +2391,6 @@ void DAG_pose_sort(Object *ob)
ListBase targets = {NULL, NULL};
bConstraintTarget *ct;
-#if 0 // XXX old animation system... driver stuff to watch out for
- if(con->ipo) {
- IpoCurve *icu;
- for(icu= con->ipo->curve.first; icu; icu= icu->next) {
- /* icu->driver->ob should actually point to ob->proxy if it
- * is a proxy, but since it wasn't set correct it older
- * files comparing with ob->proxy makes it work for those */
- if(icu->driver && (icu->driver->ob==ob || icu->driver->ob==ob->proxy)) {
- bPoseChannel *target= get_pose_channel(ob->pose, icu->driver->name);
- if(target) {
- node2 = dag_get_node(dag, target);
- dag_add_relation(dag, node2, node, 0, "Ipo Driver");
-
- /* 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 */
- }
- }
- }
- }
-#endif // XXX old animation system... driver stuff to watch out for
-
if (cti && cti->get_constraint_targets) {
cti->get_constraint_targets(con, &targets);
@@ -2423,7 +2400,7 @@ void DAG_pose_sort(Object *ob)
if (target) {
node2= dag_get_node(dag, target);
dag_add_relation(dag, node2, node, 0, "IK Constraint");
-
+
if (con->type==CONSTRAINT_TYPE_KINEMATIC) {
bKinematicConstraint *data = (bKinematicConstraint *)con->data;
bPoseChannel *parchan;