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/physics_body_3d.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scene/3d/physics_body_3d.cpp') diff --git a/scene/3d/physics_body_3d.cpp b/scene/3d/physics_body_3d.cpp index 89bb1b5c65..9de9444fb6 100644 --- a/scene/3d/physics_body_3d.cpp +++ b/scene/3d/physics_body_3d.cpp @@ -599,9 +599,7 @@ void RigidBody3D::_notification(int p_what) { } break; case NOTIFICATION_LOCAL_TRANSFORM_CHANGED: { - if (Engine::get_singleton()->is_editor_hint()) { - update_configuration_warnings(); - } + update_configuration_warnings(); } break; } #endif -- cgit v1.2.3