fix compile errors after rebase

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-05-31 11:19:13 +02:00
parent 0e2a5dbf66
commit dd1293c0fc

View File

@@ -55,9 +55,8 @@
//! //!
use bevy::prelude::*; use bevy::prelude::*;
use bevy_openxr::{ use bevy_openxr::{
action_binding::OxrSuggestActionBinding, action_binding::OxrSuggestActionBinding, action_set_attaching::OxrAttachActionSet,
action_set_attaching::OxrAttachActionSet, resources::OxrInstance, session::OxrSession,
resources::{OxrInstance, OxrSession},
}; };
use openxr::{ActiveActionSet, Path, Vector2f}; use openxr::{ActiveActionSet, Path, Vector2f};
use std::borrow::Cow; use std::borrow::Cow;
@@ -65,7 +64,10 @@ use std::borrow::Cow;
pub struct XRUtilsActionsPlugin; pub struct XRUtilsActionsPlugin;
impl Plugin for XRUtilsActionsPlugin { impl Plugin for XRUtilsActionsPlugin {
fn build(&self, app: &mut App) { fn build(&self, app: &mut App) {
app.add_systems(Startup, create_openxr_events.in_set(XRUtilsActionSystemSet::CreateEvents)); app.add_systems(
Startup,
create_openxr_events.in_set(XRUtilsActionSystemSet::CreateEvents),
);
app.add_systems(Update, sync_active_action_sets); app.add_systems(Update, sync_active_action_sets);
app.add_systems( app.add_systems(
Update, Update,