From 70f7fcd208213d052720ce5b80a4249f4c051592 Mon Sep 17 00:00:00 2001 From: VolTer Date: Sat, 29 Oct 2022 22:15:27 +0200 Subject: Light3D show scaling warning immediately (cherry picked from commit 818d57b5b4f01ffc05968a3a1a2d210683c56d0a) --- scene/3d/collision_object_3d.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scene/3d/collision_object_3d.cpp') diff --git a/scene/3d/collision_object_3d.cpp b/scene/3d/collision_object_3d.cpp index 19d1b83cab..6d8d60dcaa 100644 --- a/scene/3d/collision_object_3d.cpp +++ b/scene/3d/collision_object_3d.cpp @@ -83,13 +83,9 @@ void CollisionObject3D::_notification(int p_what) { _update_pickable(); } break; -#ifdef TOOLS_ENABLED case NOTIFICATION_LOCAL_TRANSFORM_CHANGED: { - if (Engine::get_singleton()->is_editor_hint()) { - update_configuration_warnings(); - } + update_configuration_warnings(); } break; -#endif case NOTIFICATION_TRANSFORM_CHANGED: { if (only_update_transform_changes) { -- cgit v1.2.3