[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51084] trunk/blender/source/blender/ ikplugin/intern/itasc_plugin.cpp: Fix #32770: iTaSC IK solver not working correct with bones that have stretch with

Brecht Van Lommel brechtvanlommel at pandora.be
Fri Oct 5 15:11:17 CEST 2012


Revision: 51084
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51084
Author:   blendix
Date:     2012-10-05 13:11:16 +0000 (Fri, 05 Oct 2012)
Log Message:
-----------
Fix #32770: iTaSC IK solver not working correct with bones that have stretch with
have all rotation axes disabled.

Modified Paths:
--------------
    trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp

Modified: trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp
===================================================================
--- trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp	2012-10-05 13:06:36 UTC (rev 51083)
+++ trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp	2012-10-05 13:11:16 UTC (rev 51084)
@@ -1172,10 +1172,8 @@
 		switch (ikchan->jointType & ~IK_TRANSY) {
 			case 0:
 				// fixed bone
-				if (!(ikchan->jointType & IK_TRANSY)) {
-					joint += ":F";
-					ret = arm->addSegment(joint, parent, KDL::Joint::None, 0.0, tip);
-				}
+				joint += ":F";
+				ret = arm->addSegment(joint, parent, KDL::Joint::None, 0.0, tip);
 				break;
 			case IK_XDOF:
 				// RX only, get the X rotation




More information about the Bf-blender-cvs mailing list