1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

Format node configuration warnings as a bullet point list

This makes multiple warnings easier to distinguish from each other.
This commit is contained in:
Hugo Locurcio
2021-07-06 19:36:05 +02:00
parent c47b6f4b5c
commit 730ffcf65d

View File

@@ -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;
}