mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 07:35:19 +00:00
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:
@@ -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!(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
use bevy::{
|
||||
prelude::*, render::render_resource::Extent3d, transform::components::Transform,
|
||||
window::PrimaryWindow,
|
||||
};
|
||||
use bevy::{prelude::*, render::render_resource::Extent3d, transform::components::Transform};
|
||||
use clap::{Args, Parser, Subcommand};
|
||||
use studio::headless::{start_headless, HeadlessMode};
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ use crate::{
|
||||
camera_controller::{CameraController, CameraControllerBundle},
|
||||
change_tracking::{ChangeTracker, ChangeTrackingPlugin},
|
||||
debug::DebugPoint,
|
||||
headless::{self, is_headless, is_not_headless, HeadlessSettings},
|
||||
headless::{is_headless, is_not_headless, HeadlessSettings},
|
||||
math::{Combinable, Extrema},
|
||||
screenshot::ScreenCapture,
|
||||
MainCamera,
|
||||
|
||||
Reference in New Issue
Block a user