Godot Engine – Multi-platform 2D and 3D game engine
add DISABLE_DEPRECATED to cpp file
hannes5fcee4187a3a
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cppindex 02f2eb86d14..2372dd1f1ae 100644--- a/core/object/script_language_extension.cpp+++ b/core/object/script_language_extension.cpp@@ -123,6 +123,7 @@ void ScriptLanguageExtension::_bind_methods() {#ifndef DISABLE_DEPRECATEDGDVIRTUAL_BIND(_create_script);GDVIRTUAL_BIND(_has_named_classes);+ GDVIRTUAL_BIND(_get_recognized_extensions);#endifGDVIRTUAL_BIND(_supports_builtin_mode);GDVIRTUAL_BIND(_supports_documentation);@@ -162,7 +163,6 @@ void ScriptLanguageExtension::_bind_methods() {GDVIRTUAL_BIND(_reload_scripts, "scripts", "soft_reload");GDVIRTUAL_BIND(_reload_tool_script, "script", "soft_reload");- GDVIRTUAL_BIND(_get_recognized_extensions);GDVIRTUAL_BIND(_get_public_functions);GDVIRTUAL_BIND(_get_public_constants);GDVIRTUAL_BIND(_get_public_annotations);