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;


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to