[Export] Suppress duplicate texture format errors in UI and add missing in console mode.
This commit is contained in:
@@ -470,6 +470,9 @@ bool EditorExportPlatformWeb::has_valid_project_configuration(const Ref<EditorEx
|
||||
|
||||
if (p_preset->get("vram_texture_compression/for_mobile")) {
|
||||
if (!ResourceImporterTextureSettings::should_import_etc2_astc()) {
|
||||
if (EditorNode::is_cmdline_mode()) {
|
||||
err += TTR("ETC2/ASTC texture compression is required for Web export. In the Project Settings, search for 'ETC2' in the search field, or enable 'Advanced Settings', and go to Rendering > Textures > VRAM Compression to enable 'Import ETC2 ASTC'.") + "\n";
|
||||
}
|
||||
valid = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user