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_shape_3d.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scene/3d/collision_shape_3d.cpp') diff --git a/scene/3d/collision_shape_3d.cpp b/scene/3d/collision_shape_3d.cpp index f1d918ad9b..b7f3b12c25 100644 --- a/scene/3d/collision_shape_3d.cpp +++ b/scene/3d/collision_shape_3d.cpp @@ -99,11 +99,7 @@ void CollisionShape3D::_notification(int p_what) { if (parent) { _update_in_shape_owner(true); } -#ifdef TOOLS_ENABLED - if (Engine::get_singleton()->is_editor_hint()) { - update_configuration_warnings(); - } -#endif + update_configuration_warnings(); } break; case NOTIFICATION_UNPARENTED: { -- cgit v1.2.3