mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Fix BoneAttachment3D responding to only local transform changes
This commit is contained in:
parent
bb6b06c813
commit
8768db5c33
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user