forked from bartvdbraak/blender
Fix #32770: iTaSC IK solver not working correct with bones that have stretch with
have all rotation axes disabled.
This commit is contained in:
parent
7e0d1cf652
commit
72da7722dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user