From a0072ba39fb19158564322ae3f4595512a0c34dc Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 27 Jul 2022 17:34:12 -0500 Subject: Make some editor export methods const --- platform/android/export/export_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/android/export/export_plugin.cpp') diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 2cfb152804..bdee68ef34 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1671,7 +1671,7 @@ Vector EditorExportPlatformAndroid::get_enabled_abis(const Ref &p_preset, List *r_features) { +void EditorExportPlatformAndroid::get_preset_features(const Ref &p_preset, List *r_features) const { String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name"); if (driver == "opengl3") { r_features->push_back("etc"); @@ -3109,7 +3109,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref *r_features) { +void EditorExportPlatformAndroid::get_platform_features(List *r_features) const { r_features->push_back("mobile"); r_features->push_back("android"); } -- cgit v1.2.3 From 17c4cd6412e3491f33713c63e4d3cc80c959319f Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 27 Jul 2022 17:48:34 -0500 Subject: Update export dialog to handle many architectures --- platform/android/export/export_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/android/export/export_plugin.cpp') diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index bdee68ef34..6f1b4bde40 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1705,6 +1705,8 @@ void EditorExportPlatformAndroid::get_export_options(List *r_optio } plugins_changed.clear(); + // Android supports multiple architectures in an app bundle, so + // we expose each option as a checkbox in the export dialog. const Vector abis = get_abis(); for (int i = 0; i < abis.size(); ++i) { const String abi = abis[i]; -- cgit v1.2.3