diff options
author | Micky <micheledevita2@gmail.com> | 2024-01-23 18:47:26 +0100 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2024-01-27 13:03:07 +0100 |
commit | 3e4e0f08c4fcad6453259a3d8b2ab1d8c775aa32 (patch) | |
tree | 8e1b14fe0ea91ed66f593c457fc89efb5142fb3e /scene/main/node.cpp | |
parent | 74c32faa78b54863f8f25c538083907c2bf71791 (diff) | |
download | redot-engine-3e4e0f08c4fcad6453259a3d8b2ab1d8c775aa32.tar.gz |
Improve appearance of Node configuration warnings
Diffstat (limited to 'scene/main/node.cpp')
-rw-r--r-- | scene/main/node.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index f7d695bf31..defc8de9e6 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -3131,20 +3131,6 @@ PackedStringArray Node::get_configuration_warnings() const { return ret; } -String Node::get_configuration_warnings_as_string() const { - PackedStringArray warnings = get_configuration_warnings(); - String all_warnings; - for (int i = 0; i < warnings.size(); i++) { - if (i > 0) { - all_warnings += "\n\n"; - } - // Format as a bullet point list to make multiple warnings easier to distinguish - // from each other. - all_warnings += String::utf8("• ") + warnings[i]; - } - return all_warnings; -} - void Node::update_configuration_warnings() { ERR_THREAD_GUARD #ifdef TOOLS_ENABLED |