summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2017-12-29 10:54:01 -0300
committerJuan Linietsky <juan@godotengine.org>2017-12-29 10:54:24 -0300
commita54e3f72ce9d2427e413aa8fdf9633a49027747b (patch)
tree028b3427928572e8c7b91da5e105485ab688b468
parent47810cbaeafa9527ac5a9e34acf2aa46b0bc56ce (diff)
Update the skeleton on transform
-rw-r--r--scene/3d/skeleton.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp
index a4a43c1a88..25e76efeb4 100644
--- a/scene/3d/skeleton.cpp
+++ b/scene/3d/skeleton.cpp
@@ -153,6 +153,9 @@ void Skeleton::_notification(int p_what) {
case NOTIFICATION_EXIT_WORLD: {
} break;
+ case NOTIFICATION_TRANSFORM_CHANGED: {
+ _make_dirty();
+ } break;
case NOTIFICATION_UPDATE_SKELETON: {
VisualServer *vs = VisualServer::get_singleton();