Fix pipeline fails (#70)

* Removes some unused imports causing linter to fail
* Removes a redundant `InitAsset` variant that was accidentally included
  in #57
This commit is contained in:
Danny McGee
2024-03-01 20:30:05 -05:00
committed by GitHub
parent e79a7d4f4c
commit 1f2bd9a6ae
3 changed files with 2 additions and 9 deletions
-4
View File
@@ -7,7 +7,6 @@ use scene::ImportSceneEvent;
#[cfg(feature = "wasm")]
use serde_repr::{Deserialize_repr, Serialize_repr};
use space_editor::space_prefab::plugins::PrefabPlugin;
#[cfg(feature = "wasm")]
use wasm_bindgen::prelude::*;
@@ -137,8 +136,6 @@ pub enum InitAsset {
/// Initialize the application by retargeting a Mixamo animation onto the
/// bundled `Mannequin.gltf` model.
MixamoAnim(String),
/// Initialize the application by loading an arbitary model given an identifier
MediaAsset(String),
}
pub fn start(init: InitParams, mode: StudioMode, window_config: Option<Window>) -> App {
@@ -234,6 +231,5 @@ fn init_from_asset(app: &mut App, asset: InitAsset, skybox_id: String) {
ew.send(ImportSceneEvent(scene.clone()));
});
}
InitAsset::MediaAsset(_) => todo!(),
}
}