diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-25 13:38:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 13:38:08 +0200 |
commit | 7c7ce7dcd7430d8503d6f74bb49c68892bc31dca (patch) | |
tree | 172e5211446f4206d928a76e7eee6e8c706be819 /core/string/ustring.cpp | |
parent | 6a9115b983384f5dce341b22268dbc7f4a12f64e (diff) | |
parent | 8580f377a3d7d72c319e9e5489bcbe1678ad704b (diff) |
Merge pull request #60298 from reduz/scene-unique-paths
Diffstat (limited to 'core/string/ustring.cpp')
-rw-r--r-- | core/string/ustring.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index 7cfd34b53e..7199121932 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -35,6 +35,7 @@ #include "core/math/math_funcs.h" #include "core/os/memory.h" #include "core/string/print_string.h" +#include "core/string/string_name.h" #include "core/string/translation.h" #include "core/string/ucaps.h" #include "core/variant/variant.h" @@ -4357,7 +4358,7 @@ String String::property_name_encode() const { } // Changes made to the set of invalid characters must also be reflected in the String documentation. -const String String::invalid_node_name_characters = ". : @ / \""; +const String String::invalid_node_name_characters = ". : @ / \" " UNIQUE_NODE_PREFIX; String String::validate_node_name() const { Vector<String> chars = String::invalid_node_name_characters.split(" "); |