diff --git a/studio/src/input.rs b/studio/src/input.rs index 965a8a0..16c7ac6 100644 --- a/studio/src/input.rs +++ b/studio/src/input.rs @@ -497,6 +497,7 @@ fn log_input_actions( mut er_editor_actions: EventReader, ) { #[derive(Clone, Copy, Debug)] + #[allow(dead_code)] // Spurious warning; these fields _are_ being read by the `Debug` impl enum InputAction { Camera(CameraAction), Selection(SelectionAction), diff --git a/studio/src/interaction/gizmos/rotation.rs b/studio/src/interaction/gizmos/rotation.rs index 3df6beb..999f2b7 100644 --- a/studio/src/interaction/gizmos/rotation.rs +++ b/studio/src/interaction/gizmos/rotation.rs @@ -14,8 +14,8 @@ use crate::{ }; use super::{ - material::GizmoMaterial, on_gizmo_element_hover, on_gizmo_element_unhover, GizmoMats, - GizmoMeshes, InitialTransform, TransformGizmo, TransformGizmoBundle, GIZMO_RENDER_LAYER, + on_gizmo_element_hover, on_gizmo_element_unhover, GizmoMats, GizmoMeshes, InitialTransform, + TransformGizmo, TransformGizmoBundle, GIZMO_RENDER_LAYER, }; #[derive(Component)] diff --git a/studio/src/interaction/selection.rs b/studio/src/interaction/selection.rs index 9a0efcb..b520e74 100644 --- a/studio/src/interaction/selection.rs +++ b/studio/src/interaction/selection.rs @@ -164,7 +164,7 @@ fn update_selection( cmd.remove_resource::(); } } - (Lifecycle::Ongoing, input::Selection::Marquee(Rect { min, max })) => { + (Lifecycle::Ongoing, input::Selection::Marquee(Rect { min: _, max: _ })) => { // TODO // let center = (*max - *min) / 2.; // let width = max.x - min.x; @@ -177,7 +177,7 @@ fn update_selection( // Color::rgba(1., 1., 0., 0.4), // ); } - (Lifecycle::Stop, input::Selection::Marquee(Rect { min, max })) => { + (Lifecycle::Stop, input::Selection::Marquee(Rect { min: _, max: _ })) => { // TODO } _ => {}