Fixed a logic error that would incorrectly always conjugate the rotation of the root bone

This commit is contained in:
Colin Basnett
2025-04-10 12:12:07 -07:00
parent 5cfb883a32
commit 18915b3d86

View File

@@ -91,7 +91,7 @@ def _get_pose_bone_location_and_rotation(
else: else:
is_child_bone = pose_bone.parent is not None is_child_bone = pose_bone.parent is not None
if is_child_bone is not None: if is_child_bone:
rotation.conjugate() rotation.conjugate()
return location, rotation return location, rotation