forked from bartvdbraak/blender
Bugfix: auto IK + autokeyframe didn't work correct with the don't
inherit scale option yet, scale of the bone would slowly change. Now it's still not 100% accurate, but that's unavoidable, at least the effect is much reduced.
This commit is contained in:
parent
b2e6520d6e
commit
fe3e521e44
@ -488,6 +488,10 @@ static short apply_targetless_ik(Object *ob)
|
||||
|
||||
Mat4MulMat4(tmat, offs_bone, rmat);
|
||||
}
|
||||
else if(parchan->bone->flag & BONE_NO_SCALE) {
|
||||
Mat4MulMat4(tmat, offs_bone, parchan->parent->pose_mat);
|
||||
Mat4Ortho(tmat);
|
||||
}
|
||||
else
|
||||
Mat4MulMat4(tmat, offs_bone, parchan->parent->pose_mat);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user