From 1fb2b662e18cddabafc168a37e1cfb85496dbd3c Mon Sep 17 00:00:00 2001 From: RedworkDE <10944644+RedworkDE@users.noreply.github.com> Date: Tue, 14 Feb 2023 13:49:35 +0100 Subject: [PATCH] Fix `texture_format/bptc` export option --- editor/export/editor_export_platform_pc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/export/editor_export_platform_pc.cpp b/editor/export/editor_export_platform_pc.cpp index bbfd73be5e4..7f934bc45bf 100644 --- a/editor/export/editor_export_platform_pc.cpp +++ b/editor/export/editor_export_platform_pc.cpp @@ -33,6 +33,9 @@ #include "core/config/project_settings.h" void EditorExportPlatformPC::get_preset_features(const Ref &p_preset, List *r_features) const { + if (p_preset->get("texture_format/bptc")) { + r_features->push_back("bptc"); + } if (p_preset->get("texture_format/s3tc")) { r_features->push_back("s3tc"); }