Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-09-05 21:02:52 +02:00
parent df36d90cc9
commit ff08bcaa8a
3 changed files with 0 additions and 19 deletions

View File

@@ -43,12 +43,6 @@ fn handle_input(
info!("sending request exit");
request_exit.send_default();
}
if keys.just_pressed(KeyCode::KeyT) {
info!("sending request exit");
request_exit.send_default();
info!("sending end");
end.send_default();
}
if keys.just_pressed(KeyCode::KeyI) {
info!("current state: {:?}", *state);
}

View File

@@ -522,7 +522,6 @@ pub fn create_xr_session(world: &mut World) {
}
pub fn destroy_xr_session(world: &mut World) {
info!("running destroy!");
world.run_schedule(XrPreDestroySession);
world.remove_resource::<OxrSession>();
world.remove_resource::<OxrFrameWaiter>();