From 320fb492b0cfee698025777e026922f1a5ad16d9 Mon Sep 17 00:00:00 2001 From: derammo <817160+derammo@users.noreply.github.com> Date: Tue, 16 Aug 2022 19:23:51 -0400 Subject: [PATCH] added missing virtual to ScriptExtension _has_property_default_value is a required virtual for ScriptExtension but it was not bound, and could therefore not be implemented this made it impossible to implement a ScriptExtension that runs --- core/object/script_language_extension.cpp | 1 + doc/classes/ScriptExtension.xml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp index 9de784ea7f5..78e9038b660 100644 --- a/core/object/script_language_extension.cpp +++ b/core/object/script_language_extension.cpp @@ -62,6 +62,7 @@ void ScriptExtension::_bind_methods() { GDVIRTUAL_BIND(_has_script_signal, "signal"); GDVIRTUAL_BIND(_get_script_signal_list); + GDVIRTUAL_BIND(_has_property_default_value, "property"); GDVIRTUAL_BIND(_get_property_default_value, "property"); GDVIRTUAL_BIND(_update_exports); diff --git a/doc/classes/ScriptExtension.xml b/doc/classes/ScriptExtension.xml index b59c49d7853..045eadda41c 100644 --- a/doc/classes/ScriptExtension.xml +++ b/doc/classes/ScriptExtension.xml @@ -96,6 +96,12 @@ + + + + + +