From 2e167ca943309cbae165b4ece4bec62f8fdfbc24 Mon Sep 17 00:00:00 2001 From: RedworkDE <10944644+RedworkDE@users.noreply.github.com> Date: Tue, 7 Feb 2023 22:33:19 +0100 Subject: [PATCH] Bind `EditorExportPlugin::_get_export_features` --- doc/classes/EditorExportPlugin.xml | 8 ++++++++ editor/export/editor_export_plugin.cpp | 1 + 2 files changed, 9 insertions(+) diff --git a/doc/classes/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml index 3e8ce10aa51..fd76e8ddaa6 100644 --- a/doc/classes/EditorExportPlugin.xml +++ b/doc/classes/EditorExportPlugin.xml @@ -87,6 +87,14 @@ Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations. + + + + + + Return a [PackedStringArray] of additional features this preset, for the given [param platform], should have. + + diff --git a/editor/export/editor_export_plugin.cpp b/editor/export/editor_export_plugin.cpp index 0add55820f9..5887befcd84 100644 --- a/editor/export/editor_export_plugin.cpp +++ b/editor/export/editor_export_plugin.cpp @@ -229,6 +229,7 @@ void EditorExportPlugin::_bind_methods() { GDVIRTUAL_BIND(_end_customize_scenes); GDVIRTUAL_BIND(_end_customize_resources); + GDVIRTUAL_BIND(_get_export_features, "platform", "debug"); GDVIRTUAL_BIND(_get_name); }