diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-05 17:11:16 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-05 17:11:16 +0400 |
commit | 72da7722dd25a8b4d2697cd4c6c3489a872c36a0 (patch) | |
tree | ac81c36f057ad7fe01dea4297e1320a8ad4e9ccd /source/blender/ikplugin/intern/itasc_plugin.cpp | |
parent | 7e0d1cf65263f1906252fce3a9cd2618e9130920 (diff) |
Fix #32770: iTaSC IK solver not working correct with bones that have stretch with
have all rotation axes disabled.
Diffstat (limited to 'source/blender/ikplugin/intern/itasc_plugin.cpp')
-rw-r--r-- | source/blender/ikplugin/intern/itasc_plugin.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/ikplugin/intern/itasc_plugin.cpp b/source/blender/ikplugin/intern/itasc_plugin.cpp index d88f954345f..c929c97a040 100644 --- a/source/blender/ikplugin/intern/itasc_plugin.cpp +++ b/source/blender/ikplugin/intern/itasc_plugin.cpp @@ -1172,10 +1172,8 @@ static IK_Scene *convert_tree(Scene *blscene, Object *ob, bPoseChannel *pchan) 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 |