浏览代码

Merge pull request #73286 from RedworkDE/export-format-bptc

Fix `texture_format/bptc` export option
Rémi Verschelde 2 年之前
父节点
当前提交
8c7b98d452
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      editor/export/editor_export_platform_pc.cpp

+ 3 - 0
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");
 	}