From 8768db5c33ec5702400a1568f82bc7dcd88c6e71 Mon Sep 17 00:00:00 2001 From: Zi Ye Date: Mon, 26 Feb 2024 12:58:51 -0600 Subject: [PATCH] Fix BoneAttachment3D responding to only local transform changes --- scene/3d/bone_attachment_3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/3d/bone_attachment_3d.cpp b/scene/3d/bone_attachment_3d.cpp index 5683fb7306e..76e89f24d8c 100644 --- a/scene/3d/bone_attachment_3d.cpp +++ b/scene/3d/bone_attachment_3d.cpp @@ -244,7 +244,7 @@ int BoneAttachment3D::get_bone_idx() const { void BoneAttachment3D::set_override_pose(bool p_override) { override_pose = p_override; - set_notify_local_transform(override_pose); + set_notify_transform(override_pose); set_process_internal(override_pose); if (!override_pose) { @@ -301,7 +301,7 @@ void BoneAttachment3D::_notification(int p_what) { _check_unbind(); } break; - case NOTIFICATION_LOCAL_TRANSFORM_CHANGED: { + case NOTIFICATION_TRANSFORM_CHANGED: { _transform_changed(); } break;