From 8f2d0c99495818d0d087f40e09a1509c4aef5dd8 Mon Sep 17 00:00:00 2001 From: Jerome Humbert Date: Sun, 6 Dec 2020 11:00:59 +0000 Subject: [PATCH] Delete old test code from main() --- bin/weldr/src/weldr.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bin/weldr/src/weldr.rs b/bin/weldr/src/weldr.rs index c4a831f..2d1f429 100644 --- a/bin/weldr/src/weldr.rs +++ b/bin/weldr/src/weldr.rs @@ -276,16 +276,6 @@ fn main() -> Result<(), Error> { app.exit(1); } - let buf = gltf::Buffer::new(32).uri("buf1.glb"); - let asset = gltf::Asset::new("2.0").generator("weldr"); - let mut gltf = gltf::Gltf::new(asset); - gltf.buffers.push(buf); - let json = serde_json::to_string_pretty(&gltf); - trace!("json={:#?}", json.unwrap()); - - //trace!("args: pattern={}, path={}", args.pattern, args.path.to_str().unwrap()); - let cmds = weldr::parse_raw(&b"1 16 0 0 0 1 0 0 0 1 0 sub.ldr"[..])?; - trace!("cmds #{}", cmds.len()); Ok(()) }