From bc5ee6c98fa77cc75e1654d2f3b5044f075688b7 Mon Sep 17 00:00:00 2001 From: Saracen Date: Fri, 15 Apr 2016 11:28:07 +0100 Subject: [PATCH] BoneAttachments now position themselves instantly during bind. --- scene/3d/bone_attachment.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/3d/bone_attachment.cpp b/scene/3d/bone_attachment.cpp index 1628ccc15e8..56b61d40e22 100644 --- a/scene/3d/bone_attachment.cpp +++ b/scene/3d/bone_attachment.cpp @@ -80,6 +80,7 @@ void BoneAttachment::_check_bind() { int idx = sk->find_bone(bone_name); if (idx!=-1) { sk->bind_child_node_to_bone(idx,this);; + set_transform(sk->get_bone_global_pose(idx)); bound=true; } }