Browse Source

Update the skeleton on transform

Juan Linietsky 7 years ago
parent
commit
a54e3f72ce
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scene/3d/skeleton.cpp

+ 3 - 0
scene/3d/skeleton.cpp

@@ -152,6 +152,9 @@ void Skeleton::_notification(int p_what) {
 		} break;
 		case NOTIFICATION_EXIT_WORLD: {
 
+		} break;
+		case NOTIFICATION_TRANSFORM_CHANGED: {
+			_make_dirty();
 		} break;
 		case NOTIFICATION_UPDATE_SKELETON: {