Skip to content

Commit 18cc58f

Browse files
committed
Add lacked TOOLS_ENABLED block to RetargetModifier3D
1 parent 21a6bd8 commit 18cc58f

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)