summaryrefslogtreecommitdiffstats
path: root/core/global_constants.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-21 16:48:29 +0100
committerGitHub <noreply@github.com>2020-02-21 16:48:29 +0100
commita77c862b18c283e2795a7bdf665b2d9cc9c3b4d2 (patch)
tree29701b02651ef860c1c610ec9145c799767d93b6 /core/global_constants.cpp
parent0447d6fc8edfd636fa6c859d32e76ec8a760f42e (diff)
parent3c0059650da3f1feb3c95364d571fe706826dec6 (diff)
downloadredot-engine-a77c862b18c283e2795a7bdf665b2d9cc9c3b4d2.tar.gz
Merge pull request #36400 from reduz/variant-string-name
Added StringName as a variant type.
Diffstat (limited to 'core/global_constants.cpp')
-rw-r--r--core/global_constants.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/global_constants.cpp b/core/global_constants.cpp
index b990ec9276..3de36dcb9d 100644
--- a/core/global_constants.cpp
+++ b/core/global_constants.cpp
@@ -606,6 +606,7 @@ void register_global_constants() {
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_BASIS", Variant::BASIS);
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_TRANSFORM", Variant::TRANSFORM);
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_COLOR", Variant::COLOR);
+ BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_STRING_NAME", Variant::STRING_NAME); // 15
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_NODE_PATH", Variant::NODE_PATH); // 15
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_RID", Variant::_RID);
BIND_GLOBAL_ENUM_CONSTANT_CUSTOM("TYPE_OBJECT", Variant::OBJECT);