From 730ffcf65d096ac974dd8083a241e43eb5de3359 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 6 Jul 2021 19:36:05 +0200 Subject: Format node configuration warnings as a bullet point list This makes multiple warnings easier to distinguish from each other. --- scene/main/node.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3