diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-07-09 00:17:04 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-07-09 00:18:00 +0200 |
commit | ff7184c5cb501cb1674e2547fc31bbb9975cc0f2 (patch) | |
tree | 66cbb44a4e8b7691b1340038e56c929a39ffe5a8 /scene/3d/collision_object.cpp | |
parent | 56269e2db835e50a4cf2681bb73c44ae41fcca10 (diff) | |
download | redot-engine-ff7184c5cb501cb1674e2547fc31bbb9975cc0f2.tar.gz |
Improve the node configuration warning display
- Refer to properties explicitly when possible
- When multiple warnings are returned, always separate them by one
blank line to make them easier to distinguish
- Improve grammar and formatting
Diffstat (limited to 'scene/3d/collision_object.cpp')
-rw-r--r-- | scene/3d/collision_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/collision_object.cpp b/scene/3d/collision_object.cpp index fc46cf5bdb..9d3e2983c4 100644 --- a/scene/3d/collision_object.cpp +++ b/scene/3d/collision_object.cpp @@ -371,7 +371,7 @@ String CollisionObject::get_configuration_warning() const { if (shapes.empty()) { if (warning == String()) { - warning += "\n"; + warning += "\n\n"; } warning += TTR("This node has no shape, so it can't collide or interact with other objects.\nConsider adding a CollisionShape or CollisionPolygon as a child to define its shape."); } |