BoneAttachments now position themselves instantly during bind.

This commit is contained in:
Saracen 2016-04-15 11:28:07 +01:00
parent 880f4abda4
commit bc5ee6c98f
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}