diff options
author | derammo <817160+derammo@users.noreply.github.com> | 2022-08-16 19:23:51 -0400 |
---|---|---|
committer | derammo <817160+derammo@users.noreply.github.com> | 2022-08-20 06:29:39 -0400 |
commit | 320fb492b0cfee698025777e026922f1a5ad16d9 (patch) | |
tree | afd1008ecbdd11b0845dc19f83bf385b122cce42 | |
parent | 5119d0d974fb8b823c23536de8be7d2a5e4f69ed (diff) |
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
-rw-r--r-- | core/object/script_language_extension.cpp | 1 | ||||
-rw-r--r-- | doc/classes/ScriptExtension.xml | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp index 9de784ea7f..78e9038b66 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 b59c49d785..045eadda41 100644 --- a/doc/classes/ScriptExtension.xml +++ b/doc/classes/ScriptExtension.xml @@ -96,6 +96,12 @@ <description> </description> </method> + <method name="_has_property_default_value" qualifiers="virtual const"> + <return type="bool" /> + <param index="0" name="property" type="StringName" /> + <description> + </description> + </method> <method name="_has_script_signal" qualifiers="virtual const"> <return type="bool" /> <param index="0" name="signal" type="StringName" /> |