mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 07:35:19 +00:00
Fix gizmo
This commit is contained in:
+3
-7
@@ -6,17 +6,12 @@ use bevy_mod_picking::debug::DebugPickingMode;
|
|||||||
use space_editor::{
|
use space_editor::{
|
||||||
prelude::EditorCameraMarker,
|
prelude::EditorCameraMarker,
|
||||||
space_editor_ui::{
|
space_editor_ui::{
|
||||||
bottom_menu::BottomMenuPlugin, tools::gizmo::GizmoToolPlugin, EditorDefaultCameraPlugin,
|
bottom_menu::BottomMenuPlugin, tools::gizmo::GizmoToolPlugin, EditorDefaultCameraPlugin, EditorGizmoConfigPlugin, EditorPickingPlugin, EditorPluginGroup, EditorUiCore, ShowEditorUi
|
||||||
EditorPickingPlugin, EditorPluginGroup, EditorUiCore, ShowEditorUi,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
camera_controller::{CameraController, CameraMotionSystem},
|
camera_controller::{CameraController, CameraMotionSystem}, input::{Action, InputAction, Lifecycle}, is_editor, scene::SkeletalJoint, MainCamera, StudioMode
|
||||||
input::{Action, InputAction, Lifecycle},
|
|
||||||
is_editor,
|
|
||||||
scene::SkeletalJoint,
|
|
||||||
MainCamera,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Resource, Deref, DerefMut)]
|
#[derive(Resource, Deref, DerefMut)]
|
||||||
@@ -69,6 +64,7 @@ impl Plugin for DebugPlugin {
|
|||||||
.disable::<EditorDefaultCameraPlugin>()
|
.disable::<EditorDefaultCameraPlugin>()
|
||||||
.disable::<BottomMenuPlugin>()
|
.disable::<BottomMenuPlugin>()
|
||||||
.disable::<GizmoToolPlugin>()
|
.disable::<GizmoToolPlugin>()
|
||||||
|
.disable::<EditorGizmoConfigPlugin>()
|
||||||
.set(space_editor::prelude::SelectedPlugin {
|
.set(space_editor::prelude::SelectedPlugin {
|
||||||
show_selected_wireframe: false,
|
show_selected_wireframe: false,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user