diff options
author | Saracen <SaracenOne@gmail.com> | 2015-08-09 17:43:44 +0100 |
---|---|---|
committer | Saracen <SaracenOne@gmail.com> | 2015-11-02 16:58:24 +0000 |
commit | 957baf48dc86c6f4c6d00b74d384d7d7e636104b (patch) | |
tree | e2a0ec34ece6181c0ae677d812a26675ab054f96 /scene/3d | |
parent | b2f9acb8c96aed0505cbac21661e21e4acef710f (diff) |
BoneAttachment fix.
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/skeleton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp index 4712ba308a..cb81228dff 100644 --- a/scene/3d/skeleton.cpp +++ b/scene/3d/skeleton.cpp @@ -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); } } |