diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-07-06 19:36:05 +0200 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-07-06 19:36:40 +0200 |
| commit | 730ffcf65d096ac974dd8083a241e43eb5de3359 (patch) | |
| tree | 0e9ea3e0d1caed4e3e2d25746a0f02ed776c8986 | |
| parent | c47b6f4b5c2351d7debe1eb7f3c64e592b6170fc (diff) | |
Format node configuration warnings as a bullet point list
This makes multiple warnings easier to distinguish from each other.
| -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; } |