Skip to content

Commit c5a62c3

Browse files
committed
Merge pull request godotengine#101448 from TokageItLab/save-retarget
Add missing `TOOLS_ENABLED` block to `RetargetModifier3D`
2 parents 6a57a1e + 18cc58f commit c5a62c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scene/3d/retarget_modifier_3d.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,11 @@ void RetargetModifier3D::_notification(int p_what) {
452452
case NOTIFICATION_ENTER_TREE: {
453453
_update_child_skeletons();
454454
} break;
455+
#ifdef TOOLS_ENABLED
455456
case NOTIFICATION_EDITOR_PRE_SAVE: {
456457
_reset_child_skeleton_poses();
457458
} break;
459+
#endif // TOOLS_ENABLED
458460
case NOTIFICATION_EXIT_TREE: {
459461
_reset_child_skeletons();
460462
} break;

0 commit comments

Comments
 (0)