Fix picking for bundles and gltf entities (#103)

This commit is contained in:
rewin
2024-03-23 00:35:38 +03:00
committed by GitHub
parent 87ecf2d7e4
commit 53f0a165e3
4 changed files with 19 additions and 23 deletions
-2
View File
@@ -30,9 +30,7 @@ fn read_command_system(mut commands: Commands, mut change_event: EventWriter<New
let mut new_entity = commands.spawn((
SpatialBundle::default(),
PrefabMarker,
Selectable,
SceneElement::Mesh,
PickableBundle::default(),
));
match cmd {