From a566dbc4a48fa89a82513500f774eb551a51f146 Mon Sep 17 00:00:00 2001 From: Dave Corley Date: Tue, 15 Oct 2024 11:23:17 -0700 Subject: [PATCH] FIX: Allow loading tool textures from the VFS so they don't cause nigh-endless warning spam --- src/map_data.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/map_data.rs b/src/map_data.rs index 4355f6a..8a58cab 100644 --- a/src/map_data.rs +++ b/src/map_data.rs @@ -84,10 +84,6 @@ impl MapData { let mut modified_textures: BTreeMap = BTreeMap::new(); for (texture_id, texture_name) in geomap.textures.iter() { - if texture_name == "__TB_empty" || texture_name == "skip" || texture_name == "clip" { - continue; - } - for texture_path in &texture_paths { if texture_path .to_ascii_lowercase() @@ -134,10 +130,6 @@ impl MapData { pub fn find_vfs_texture(name: &str, config: &Ini) -> Option { let extensions = ["dds", "tga", "png"]; - if name == "__TB_empty" || name == "trigger" || name == "skip" || name == "clip" { - return None; - } - Some( extensions .iter()