summaryrefslogtreecommitdiffstats
path: root/scene/2d/tile_map.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-07-09 00:17:04 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-07-09 00:18:00 +0200
commitff7184c5cb501cb1674e2547fc31bbb9975cc0f2 (patch)
tree66cbb44a4e8b7691b1340038e56c929a39ffe5a8 /scene/2d/tile_map.cpp
parent56269e2db835e50a4cf2681bb73c44ae41fcca10 (diff)
downloadredot-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/2d/tile_map.cpp')
-rw-r--r--scene/2d/tile_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp
index cf544a5473..c79cd80e2e 100644
--- a/scene/2d/tile_map.cpp
+++ b/scene/2d/tile_map.cpp
@@ -1780,7 +1780,7 @@ String TileMap::get_configuration_warning() const {
if (use_parent && !collision_parent) {
if (!warning.empty()) {
- warning += "\n";
+ warning += "\n\n";
}
return TTR("TileMap with Use Parent on needs a parent CollisionObject2D to give shapes to. Please use it as a child of Area2D, StaticBody2D, RigidBody2D, KinematicBody2D, etc. to give them a shape.");
}