From f68252f95f45f38d9fea420660217426c2f11b6c Mon Sep 17 00:00:00 2001 From: "Silc Lizard (Tokage) Renew" <61938263+TokageItLab@users.noreply.github.com> Date: Mon, 1 Sep 2025 01:59:19 +0900 Subject: [PATCH] Move Skeleton3D init process into post_enter_tree from enter_tree --- scene/3d/skeleton_3d.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scene/3d/skeleton_3d.cpp b/scene/3d/skeleton_3d.cpp index 8a1d348613e..153bf483093 100644 --- a/scene/3d/skeleton_3d.cpp +++ b/scene/3d/skeleton_3d.cpp @@ -289,12 +289,14 @@ void Skeleton3D::_notification(int p_what) { switch (p_what) { case NOTIFICATION_ENTER_TREE: { _process_changed(); - _make_dirty(); - _make_modifiers_dirty(); - force_update_all_dirty_bones(); #if !defined(DISABLE_DEPRECATED) && !defined(PHYSICS_3D_DISABLED) setup_simulator(); #endif // _DISABLE_DEPRECATED && PHYSICS_3D_DISABLED + } break; + case NOTIFICATION_POST_ENTER_TREE: { + _make_dirty(); + _make_modifiers_dirty(); + force_update_all_dirty_bones(); update_flags |= UPDATE_FLAG_POSE; _notification(NOTIFICATION_UPDATE_SKELETON); } break;