diff options
author | VolTer <mew.pur.pur@abv.bg> | 2022-10-29 22:15:27 +0200 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2023-05-12 12:07:00 +0200 |
commit | 70f7fcd208213d052720ce5b80a4249f4c051592 (patch) | |
tree | 28df1025310de01cb1dd63371bcc6ca042db56c8 /scene/2d | |
parent | b532dd7626be320a83148de8e6c4469ee24391ca (diff) |
Light3D show scaling warning immediately
(cherry picked from commit 818d57b5b4f01ffc05968a3a1a2d210683c56d0a)
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/physics_body_2d.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/2d/physics_body_2d.cpp b/scene/2d/physics_body_2d.cpp index ba361c2656..4c1f6499ab 100644 --- a/scene/2d/physics_body_2d.cpp +++ b/scene/2d/physics_body_2d.cpp @@ -907,9 +907,7 @@ void RigidBody2D::_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 |