diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-09 08:31:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-09 08:31:20 +0200 |
commit | 24c462b974ed45be85a7026960482dfcc7b54010 (patch) | |
tree | f3fdc1642423d1f4b0e01eed327315e253e6eee1 /scene/3d/physics_body.cpp | |
parent | 2fd902a08fdce6a1dc7abd2ea2d9a0c13cb21d76 (diff) | |
parent | ff7184c5cb501cb1674e2547fc31bbb9975cc0f2 (diff) |
Merge pull request #30443 from Calinou/improve-node-configuration-warnings
Improve the node configuration warning display
Diffstat (limited to 'scene/3d/physics_body.cpp')
-rw-r--r-- | scene/3d/physics_body.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/physics_body.cpp b/scene/3d/physics_body.cpp index d3aad7000d..2f8b2ecc5c 100644 --- a/scene/3d/physics_body.cpp +++ b/scene/3d/physics_body.cpp @@ -934,7 +934,7 @@ String RigidBody::get_configuration_warning() const { if ((get_mode() == MODE_RIGID || get_mode() == MODE_CHARACTER) && (ABS(t.basis.get_axis(0).length() - 1.0) > 0.05 || ABS(t.basis.get_axis(1).length() - 1.0) > 0.05 || ABS(t.basis.get_axis(2).length() - 1.0) > 0.05)) { if (warning != String()) { - warning += "\n"; + warning += "\n\n"; } warning += TTR("Size changes to RigidBody (in character or rigid modes) will be overridden by the physics engine when running.\nChange the size in children collision shapes instead."); } |