This commit is contained in:
rewin
2024-04-02 20:23:58 +03:00
parent 75fdb39dc2
commit 8fd780288d
3 changed files with 14 additions and 9 deletions
+8 -3
View File
@@ -3,14 +3,20 @@ use std::fmt;
use bevy::{prelude::*, window::PrimaryWindow};
use bevy_inspector_egui::DefaultInspectorConfigPlugin;
use bevy_mod_picking::debug::DebugPickingMode;
use space_editor::prelude::space_undo::AppAutoUndo;
use space_editor::{
prelude::*,
space_editor_ui::{tools::gizmo::GizmoToolPlugin, EditorPluginGroup},
};
use space_editor::prelude::space_undo::AppAutoUndo;
use crate::{
anim::SkeletalJoint, camera_controller::{CameraController, CameraMotionSystem}, input::{Action, InputAction, Lifecycle}, interaction::Selectable, is_editor, scene::SceneElement, MainCamera
anim::SkeletalJoint,
camera_controller::{CameraController, CameraMotionSystem},
input::{Action, InputAction, Lifecycle},
interaction::Selectable,
is_editor,
scene::SceneElement,
MainCamera,
};
#[derive(Resource, Deref, DerefMut)]
@@ -76,7 +82,6 @@ impl Plugin for DebugPlugin {
app.auto_undo::<Handle<Mesh>>();
app.auto_undo::<SceneElement>();
app.auto_undo::<Selectable>();
app.add_systems(Update, sync_editor_camera);
app.add_systems(