This commit is contained in:
2021-03-11 22:38:05 +01:00
parent 9848fbc183
commit da62d6ab67
3 changed files with 2 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ pub fn load_mesh(mesh_path: &str, print_status: bool) -> Result<(Vec<CPUMesh>, D
start_time = Some(SystemTime::now());
println!("Loading mesh file {}", mesh_path);
}
let (document, buffers, textures) = gltf::import(mesh_path)?;
let (document, buffers, _textures) = gltf::import(mesh_path)?;
let mut meshes = vec![];
if print_status { println!("Mesh file loaded after {} seconds, processing...", start_time.unwrap().elapsed().unwrap().as_secs()); }