From d8b4a6167896d331f3e32c197f7e9b59cfd86e0b Mon Sep 17 00:00:00 2001 From: smix8 <> Date: Thu, 15 Apr 2021 17:29:36 +0200 Subject: [PATCH] fix skeleton (ik) not resetting global_bone_overrides properly fix skeleton (ik) not resetting global_bone_overrides properly --- scene/3d/skeleton_3d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/3d/skeleton_3d.cpp b/scene/3d/skeleton_3d.cpp index db5fc7593e2..ebbb8985c90 100644 --- a/scene/3d/skeleton_3d.cpp +++ b/scene/3d/skeleton_3d.cpp @@ -387,6 +387,7 @@ void Skeleton3D::_notification(int p_what) { void Skeleton3D::clear_bones_global_pose_override() { for (int i = 0; i < bones.size(); i += 1) { bones.write[i].global_pose_override_amount = 0; + bones.write[i].global_pose_override_reset = true; } _make_dirty(); }