diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-06 23:07:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 23:07:16 +0200 |
commit | f50a866335a66dd66f11088d3c662197ef55c53c (patch) | |
tree | bdfef5a7f0194c6728a80f46ef264aad2d9e18f0 /scene | |
parent | fa90b6e285b955d931267efbb8f58f9e927bb438 (diff) | |
parent | 730ffcf65d096ac974dd8083a241e43eb5de3359 (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.cpp | 4 |
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; } |