diff options
| author | Rémi Verschelde | 2018-04-09 22:01:13 +0200 |
|---|---|---|
| committer | GitHub | 2018-04-09 22:01:13 +0200 |
| commit | 07e45564340adec0d41f3038c44ccccb1521490d (patch) | |
| tree | 1e41eb003e7797adc90f9b62d79ce3db9fa0538d | |
| parent | ebeb493dc0e63013927b5c8ef684e51412709ab8 (diff) | |
| parent | 6a5ed3a42b21bcae9ac772d1b9361019ed5d8676 (diff) | |
| download | godot-07e45564340adec0d41f3038c44ccccb1521490d.tar.gz godot-07e45564340adec0d41f3038c44ccccb1521490d.tar.zst godot-07e45564340adec0d41f3038c44ccccb1521490d.zip | |
| -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 ff4a807de..9aac391d8 100644 --- a/scene/3d/physics_body.cpp +++ b/scene/3d/physics_body.cpp @@ -781,7 +781,7 @@ String RigidBody::get_configuration_warning() const { String warning = CollisionObject::get_configuration_warning(); - 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(0).length() - 1.0) > 0.05)) { + 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"; } |
