From 2429f3c6531847d5c865c29081b9e6f395bce7bd Mon Sep 17 00:00:00 2001 From: Kayh Date: Tue, 20 Aug 2024 00:42:39 -0400 Subject: [PATCH] comment out mixamo test --- crates/unavi-avatar/src/animation/mixamo.rs | 91 +++++++++++---------- 1 file changed, 46 insertions(+), 45 deletions(-) diff --git a/crates/unavi-avatar/src/animation/mixamo.rs b/crates/unavi-avatar/src/animation/mixamo.rs index c3cc46ae0..be4e30122 100644 --- a/crates/unavi-avatar/src/animation/mixamo.rs +++ b/crates/unavi-avatar/src/animation/mixamo.rs @@ -135,49 +135,50 @@ pub static MIXAMO_BONE_NAMES: LazyLock> = LazyLo #[cfg(test)] mod tests { - use bevy::{gltf::GltfPlugin, prelude::*, render::mesh::skinning::SkinnedMeshInverseBindposes}; - - use super::*; - - #[test] - fn test_mixamo_targets() { - let mut app = App::new(); - - app.add_plugins(( - MinimalPlugins, - AssetPlugin { - file_path: "../unavi-app/assets".to_string(), - ..default() - }, - AnimationPlugin, - GltfPlugin::default(), - )); - - app.init_asset::(); - app.init_asset::(); - - let asset_server = app.world().get_resource::().unwrap(); - let _ = asset_server.load::("models/character-animations.glb#Animation0"); - - app.add_systems( - Update, - |assets: Res>, - time: Res