Merge pull request #2720 from SaracenOne/bone_attachment_fix
BoneAttachment fix.
This commit is contained in:
commit
734e3751c6
@ -250,7 +250,7 @@ void Skeleton::_notification(int p_what) {
|
||||
ERR_CONTINUE(!obj);
|
||||
Spatial *sp = obj->cast_to<Spatial>();
|
||||
ERR_CONTINUE(!sp);
|
||||
sp->set_transform(b.pose_global * b.rest_global_inverse);
|
||||
sp->set_transform(b.pose_global);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user