From 0a58025e407a2d31d02c222986da838e8f573c3d Mon Sep 17 00:00:00 2001 From: voidedWarranties Date: Wed, 15 Feb 2023 19:32:04 -0800 Subject: [PATCH] Add missing virtual bind for `ScriptExtension::_get_global_name` --- core/object/script_language_extension.cpp | 1 + doc/classes/ScriptExtension.xml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp index 19c6fc3383e..c7eb32c0208 100644 --- a/core/object/script_language_extension.cpp +++ b/core/object/script_language_extension.cpp @@ -36,6 +36,7 @@ void ScriptExtension::_bind_methods() { GDVIRTUAL_BIND(_can_instantiate); GDVIRTUAL_BIND(_get_base_script); + GDVIRTUAL_BIND(_get_global_name); GDVIRTUAL_BIND(_inherits_script, "script"); GDVIRTUAL_BIND(_get_instance_base_type); diff --git a/doc/classes/ScriptExtension.xml b/doc/classes/ScriptExtension.xml index 045eadda41c..61034f8e4a4 100644 --- a/doc/classes/ScriptExtension.xml +++ b/doc/classes/ScriptExtension.xml @@ -32,6 +32,11 @@ + + + + +