[Export] Suppress duplicate texture format errors in UI and add missing in console mode.

This commit is contained in:
Pāvels Nadtočajevs
2026-05-27 10:48:07 +03:00
parent c96e11965f
commit 2b1959a476
4 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -3148,7 +3148,7 @@ bool EditorExportPlatformAndroid::has_valid_project_configuration(const Ref<Edit
if (!ResourceImporterTextureSettings::should_import_etc2_astc()) {
valid = false;
if (EditorNode::is_cmdline_mode()) {
err += TTR("ETC2/ASTC texture compression is required for Android export. In 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";
err += TTR("ETC2/ASTC texture compression is required for Android 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";
}
}