From 61cc1c8624cdf2ef56b807c70f76dd96cc0ebcb7 Mon Sep 17 00:00:00 2001 From: abaire Date: Thu, 28 Jan 2021 12:48:12 -0800 Subject: Relaxes Node naming constraints in glTF documents to match the Editor. --- core/variant/variant_call.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/variant/variant_call.cpp') diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index 8f2cba138b..4df7a26b6d 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -956,6 +956,8 @@ static void _register_variant_builtin_methods() { bind_method(String, c_unescape, sarray(), varray()); bind_method(String, json_escape, sarray(), varray()); + bind_method(String, validate_node_name, sarray(), varray()); + bind_method(String, is_valid_identifier, sarray(), varray()); bind_method(String, is_valid_integer, sarray(), varray()); bind_method(String, is_valid_float, sarray(), varray()); -- cgit v1.2.3