diff --git a/Cargo.toml b/Cargo.toml index 1b0edcd..f1f2cc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_ort" description = "bevy ort (onnxruntime) plugin" -version = "0.12.0" +version = "0.12.1" edition = "2021" authors = ["mosure "] license = "MIT" diff --git a/src/models/flame.rs b/src/models/flame.rs index f27ffe9..3491dc3 100644 --- a/src/models/flame.rs +++ b/src/models/flame.rs @@ -110,7 +110,6 @@ impl Default for FlameInput { #[derive( Debug, - Default, Clone, Component, Deserialize, @@ -122,6 +121,15 @@ pub struct FlameOutput { pub landmarks: Vec<[f32; 3]>, } +impl Default for FlameOutput { + fn default() -> Self { + Self { + vertices: vec![[0.0; 3]; 5023], + landmarks: vec![[0.0; 3]; 68], + } + } +} + impl Meshable for FlameOutput { type Output = Mesh;