From 18cc58f6beec5a95c203fb378de372bc6929ece4 Mon Sep 17 00:00:00 2001 From: "Silc Lizard (Tokage) Renew" <61938263+TokageItLab@users.noreply.github.com> Date: Sun, 12 Jan 2025 06:44:25 +0900 Subject: [PATCH] Add lacked TOOLS_ENABLED block to RetargetModifier3D --- scene/3d/retarget_modifier_3d.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/3d/retarget_modifier_3d.cpp b/scene/3d/retarget_modifier_3d.cpp index 45e037532e8..da5d460c450 100644 --- a/scene/3d/retarget_modifier_3d.cpp +++ b/scene/3d/retarget_modifier_3d.cpp @@ -452,9 +452,11 @@ void RetargetModifier3D::_notification(int p_what) { case NOTIFICATION_ENTER_TREE: { _update_child_skeletons(); } break; +#ifdef TOOLS_ENABLED case NOTIFICATION_EDITOR_PRE_SAVE: { _reset_child_skeleton_poses(); } break; +#endif // TOOLS_ENABLED case NOTIFICATION_EXIT_TREE: { _reset_child_skeletons(); } break;