[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20972] branches/ge_dev/source/blender/ ikplugin/intern/itasc_plugin.cpp: iTaSC: fix but with 2DoF joints not being connected.
Benoit Bolsee
benoit.bolsee at online.be
Thu Jun 18 12:34:16 CEST 2009
Revision: 20972
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20972
Author: ben2610
Date: 2009-06-18 12:34:16 +0200 (Thu, 18 Jun 2009)
Log Message:
-----------
iTaSC: fix but with 2DoF joints not being connected.
Modified Paths:
--------------
branches/ge_dev/source/blender/ikplugin/intern/itasc_plugin.cpp
Modified: branches/ge_dev/source/blender/ikplugin/intern/itasc_plugin.cpp
===================================================================
--- branches/ge_dev/source/blender/ikplugin/intern/itasc_plugin.cpp 2009-06-18 10:15:23 UTC (rev 20971)
+++ branches/ge_dev/source/blender/ikplugin/intern/itasc_plugin.cpp 2009-06-18 10:34:16 UTC (rev 20972)
@@ -604,7 +604,7 @@
parent = joint;
joint = bone->name;
joint += ":RY";
- ret = arm->addSegment(joint, parent, KDL::Joint::RotY, 0.0);
+ ret = arm->addSegment(joint, parent, KDL::Joint::RotY, 0.0, tip);
weights.push_back(weight[1]);
}
break;
@@ -620,7 +620,7 @@
parent = joint;
joint = bone->name;
joint += ":RZ";
- ret = arm->addSegment(joint, parent, KDL::Joint::RotZ, 0.0);
+ ret = arm->addSegment(joint, parent, KDL::Joint::RotZ, 0.0, tip);
weights.push_back(weight[2]);
}
break;
@@ -636,7 +636,7 @@
parent = joint;
joint = bone->name;
joint += ":RY";
- ret = arm->addSegment(joint, parent, KDL::Joint::RotY, 0.0);
+ ret = arm->addSegment(joint, parent, KDL::Joint::RotY, 0.0, tip);
weights.push_back(weight[1]);
}
break;
More information about the Bf-blender-cvs
mailing list