summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-07-06 23:07:16 +0200
committerGitHub <noreply@github.com>2021-07-06 23:07:16 +0200
commitf50a866335a66dd66f11088d3c662197ef55c53c (patch)
treebdfef5a7f0194c6728a80f46ef264aad2d9e18f0 /scene
parentfa90b6e285b955d931267efbb8f58f9e927bb438 (diff)
parent730ffcf65d096ac974dd8083a241e43eb5de3359 (diff)
Merge pull request #50215 from Calinou/improve-node-configuration-warning-display
Format node configuration warnings as a bullet point list
Diffstat (limited to 'scene')
-rw-r--r--scene/main/node.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index ac092d9862..ef6d2e72f6 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -2493,7 +2493,9 @@ String Node::get_configuration_warnings_as_string() const {
if (i > 0) {
all_warnings += "\n\n";
}
- all_warnings += String(warnings[i]);
+ // Format as a bullet point list to make multiple warnings easier to distinguish
+ // from each other.
+ all_warnings += String::utf8("• ") + String(warnings[i]);
}
return all_warnings;
}