Add lacked TOOLS_ENABLED block to RetargetModifier3D

This commit is contained in:
Silc Lizard (Tokage) Renew 2025-01-12 06:44:25 +09:00
parent 21a6bd8dca
commit 18cc58f6be

View file

@ -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;