diff options
Diffstat (limited to 'world/src/mesh.rs')
-rw-r--r-- | world/src/mesh.rs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/world/src/mesh.rs b/world/src/mesh.rs index fa5dc4d..6fff9c4 100644 --- a/world/src/mesh.rs +++ b/world/src/mesh.rs @@ -18,10 +18,7 @@ use crate::{Args, TextureCache, load_texture}; use anyhow::Result; use gltf::{Mesh, Node, buffer::Data}; use log::{debug, info, warn}; -use std::{ - collections::{BTreeMap, BTreeSet}, - path::Path, -}; +use std::{collections::BTreeMap, path::Path}; use weareshared::{ Affine3A, Vec3A, resources::{MeshPart, Prefab}, @@ -91,11 +88,6 @@ pub fn import_mesh( .map(|x| x.map(|x| joint_index_map[&(si, x)])) .collect::<Vec<_>>(); debug!("{} vertex joint indecies", a.len()); - eprintln!( - "index {:?} {:?}", - node.name(), - a.iter().flatten().collect::<BTreeSet<_>>() - ); if a.len() != num_vertex { warn!("joint index count does not vertex count") } @@ -356,7 +348,7 @@ pub fn import_mesh( None }; - let armature = node.skin().map(|s| 0); + let armature = node.skin().map(|_| 0); let mesh = store.set(&MeshPart { name, |