diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-12 14:59:11 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-12 14:59:11 +0100 |
commit | b09d0c83c11f6b3b398e0e36589719296dca0c33 (patch) | |
tree | 4fc9952eb02ab977dbd5d1d8a2006f53909f9e5d | |
parent | 0c180e60c33934c8a9d9dc8060a22219d4b7901f (diff) | |
download | weareserver-b09d0c83c11f6b3b398e0e36589719296dca0c33.tar weareserver-b09d0c83c11f6b3b398e0e36589719296dca0c33.tar.bz2 weareserver-b09d0c83c11f6b3b398e0e36589719296dca0c33.tar.zst |
remove debug prints
-rw-r--r-- | world/src/main.rs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/world/src/main.rs b/world/src/main.rs index 08a89cc..12ea3aa 100644 --- a/world/src/main.rs +++ b/world/src/main.rs @@ -127,10 +127,11 @@ fn main() -> Result<()> { let root = gltf.default_scene().ok_or(anyhow!("no default scene"))?; - eprintln!("{:?}", gltf.extensions_used()); - eprintln!("{:?}", gltf.extensions()); - eprintln!("{:?}", root.extensions()); - eprintln!("{:?}", root.extras()); + // gltf.as_json().asset.copyright + // eprintln!("{:?}", gltf.extensions_used()); + // eprintln!("{:?}", gltf.extensions()); + // eprintln!("{:?}", root.extensions()); + // eprintln!("{:?}", root.extras()); let mut nodes = Vec::new(); fn traverse<'a>(out: &mut Vec<(Affine3A, Node<'a>)>, node: Node<'a>, trans: Affine3A) { @@ -224,11 +225,11 @@ fn main() -> Result<()> { .par_iter() .map(|(trans, node)| { let mut prefab = Prefab::default(); - if node.name().unwrap_or_default() == "particles" { - eprintln!("{:?}", node.transform()); - eprintln!("{:?}", node.extensions()); - eprintln!("{:?}", node.extras()); - } + // if node.name().unwrap_or_default() == "particles" { + // eprintln!("{:?}", node.transform()); + // eprintln!("{:?}", node.extensions()); + // eprintln!("{:?}", node.extras()); + // } if !node.name().unwrap_or_default().ends_with("-collider") { if let Some(mesh) = node.mesh() { import_mesh( |