Make IK gizmos interactable

This commit is contained in:
Danny McGee
2024-02-28 19:42:39 -05:00
parent 3f887d3f3e
commit 7fec3eb118
3 changed files with 106 additions and 5 deletions
+4
View File
@@ -61,6 +61,9 @@ pub struct Selected;
#[derive(Resource, Deref, DerefMut, Debug)]
pub struct Selection(Entity);
#[derive(Component)]
pub struct NoSelectionOutline;
fn sync_editor_selected(
mut cmd: Commands,
q_new_selected: Query<Entity, (Added<Selected>, Without<space_editor::prelude::Selected>)>,
@@ -188,6 +191,7 @@ fn draw_selection_outline(
(
With<Handle<Mesh>>,
Without<OutlineVolume>,
Without<NoSelectionOutline>,
// FIXME: It shouldn't be necessary to filter out SkinnedMesh here
Without<SkinnedMesh>,
),