diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-14 15:58:15 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-14 15:58:15 +0100 |
commit | 8c7b98d4526c6ba66d7f1636abb71ccbe54727c6 (patch) | |
tree | ab9f313249d9095f588d056ce380f6e30c3f917b /editor | |
parent | 93d1cfe5252fb7c033c5483ef4267d3b2d30bb4e (diff) | |
parent | 1fb2b662e18cddabafc168a37e1cfb85496dbd3c (diff) |
Merge pull request #73286 from RedworkDE/export-format-bptc
Fix `texture_format/bptc` export option
Diffstat (limited to 'editor')
-rw-r--r-- | editor/export/editor_export_platform_pc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/export/editor_export_platform_pc.cpp b/editor/export/editor_export_platform_pc.cpp index bbfd73be5e..7f934bc45b 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<EditorExportPreset> &p_preset, List<String> *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"); } |