BoneAttachment fix.

This commit is contained in:
Saracen 2015-08-09 17:43:44 +01:00
parent b2f9acb8c9
commit 957baf48dc

View file

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