From 48d3fca8958e513ea84d600ab2581408723fb5a1 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 10 Jan 2024 16:46:48 -0800 Subject: [PATCH] print all searches --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3165930..8f08bc0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1087,7 +1087,6 @@ fn get_some_texture(material:vmt_parser::material::Material)->AResultAResult>>>(find_stuff:&F,search_name:String)->AResult{ - println!("looking for {}",search_name); if let Some(stuff)=find_stuff(search_name)?{ //decode vmt and then write let stuff=String::from_utf8(stuff)?; @@ -1193,7 +1192,7 @@ fn extract_textures(paths:Vec,vpk_path:std::path::PathBuf)-> Ok::<(),anyhow::Error>(()) }; let find_stuff=|search_file_name:String|{ - //println!("search_file_name={}",search_file_name); + println!("search_file_name={}",search_file_name); match pack.get(search_file_name.as_str()){ Ok(file)=>return Ok(file), _=>(),