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:
@@ -488,6 +488,10 @@ static short apply_targetless_ik(Object *ob)
|
|||||||
|
|
||||||
Mat4MulMat4(tmat, offs_bone, rmat);
|
Mat4MulMat4(tmat, offs_bone, rmat);
|
||||||
}
|
}
|
||||||
|
else if(parchan->bone->flag & BONE_NO_SCALE) {
|
||||||
|
Mat4MulMat4(tmat, offs_bone, parchan->parent->pose_mat);
|
||||||
|
Mat4Ortho(tmat);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
Mat4MulMat4(tmat, offs_bone, parchan->parent->pose_mat);
|
Mat4MulMat4(tmat, offs_bone, parchan->parent->pose_mat);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user