You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #101448 from TokageItLab/save-retarget
Add missing `TOOLS_ENABLED` block to `RetargetModifier3D`
This commit is contained in:
@@ -452,9 +452,11 @@ void RetargetModifier3D::_notification(int p_what) {
|
|||||||
case NOTIFICATION_ENTER_TREE: {
|
case NOTIFICATION_ENTER_TREE: {
|
||||||
_update_child_skeletons();
|
_update_child_skeletons();
|
||||||
} break;
|
} break;
|
||||||
|
#ifdef TOOLS_ENABLED
|
||||||
case NOTIFICATION_EDITOR_PRE_SAVE: {
|
case NOTIFICATION_EDITOR_PRE_SAVE: {
|
||||||
_reset_child_skeleton_poses();
|
_reset_child_skeleton_poses();
|
||||||
} break;
|
} break;
|
||||||
|
#endif // TOOLS_ENABLED
|
||||||
case NOTIFICATION_EXIT_TREE: {
|
case NOTIFICATION_EXIT_TREE: {
|
||||||
_reset_child_skeletons();
|
_reset_child_skeletons();
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user