From 64140eaf4254a9d2e1fcd87451560f13959f1d24 Mon Sep 17 00:00:00 2001 From: reduz Date: Wed, 17 Feb 2021 13:44:49 -0300 Subject: Reorganize Project Settings -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up. --- platform/android/export/export.cpp | 2 +- platform/android/export/gradle_export_util.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'platform/android/export') diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index f16ab888d6..d5eff9823f 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1641,7 +1641,7 @@ public: public: virtual void get_preset_features(const Ref &p_preset, List *r_features) override { - String driver = ProjectSettings::get_singleton()->get("rendering/quality/driver/driver_name"); + String driver = ProjectSettings::get_singleton()->get("rendering/driver/driver_name"); if (driver == "GLES2") { r_features->push_back("etc"); } diff --git a/platform/android/export/gradle_export_util.h b/platform/android/export/gradle_export_util.h index 99756bba5d..ce6a3c96db 100644 --- a/platform/android/export/gradle_export_util.h +++ b/platform/android/export/gradle_export_util.h @@ -217,8 +217,8 @@ String bool_to_string(bool v) { } String _get_gles_tag() { - bool min_gles3 = ProjectSettings::get_singleton()->get("rendering/quality/driver/driver_name") == "GLES3" && - !ProjectSettings::get_singleton()->get("rendering/quality/driver/fallback_to_gles2"); + bool min_gles3 = ProjectSettings::get_singleton()->get("rendering/driver/driver_name") == "GLES3" && + !ProjectSettings::get_singleton()->get("rendering/driver/fallback_to_gles2"); return min_gles3 ? " \n" : ""; } -- cgit v1.2.3