From 93fe370f1203fab0c37e9ab5c393129111828466 Mon Sep 17 00:00:00 2001 From: Schmarni Date: Thu, 12 Feb 2026 07:05:33 +0100 Subject: [PATCH] chore: fix examples and bump version Signed-off-by: Schmarni --- Cargo.lock | 8 ++++---- Cargo.toml | 8 ++++---- crates/bevy_openxr/examples/raw_actions.rs | 2 +- crates/bevy_xr_utils/examples/mndx_xdev_spaces.rs | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0cdbae6..9146151 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1041,7 +1041,7 @@ checksum = "7ef8e4b7e61dfe7719bb03c884dc270cd46a82efb40f93e9933b990c5c190c59" [[package]] name = "bevy_mod_openxr" -version = "0.4.0" +version = "0.5.0" dependencies = [ "android_system_properties", "ash", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "bevy_mod_xr" -version = "0.4.0" +version = "0.5.0" dependencies = [ "bevy_app", "bevy_camera", @@ -1097,7 +1097,7 @@ dependencies = [ [[package]] name = "bevy_openxr_android" -version = "0.4.0" +version = "0.5.0" dependencies = [ "bevy", "bevy_mod_openxr", @@ -1661,7 +1661,7 @@ dependencies = [ [[package]] name = "bevy_xr_utils" -version = "0.4.0" +version = "0.5.0" dependencies = [ "bevy", "bevy_app", diff --git a/Cargo.toml b/Cargo.toml index b92de91..80ae2dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.4.0" +version = "0.5.0" edition = "2024" description = "Community crate for XR in Bevy" repository = "https://github.com/awtterpip/bevy_oxr" @@ -29,9 +29,9 @@ bevy_derive = { version = "0.18", default-features = false } bevy_platform = { version = "0.18", default-features = false } -bevy_mod_xr = { path = "crates/bevy_xr", version = "0.4.0" } -bevy_mod_openxr = { path = "crates/bevy_openxr", version = "0.4.0" } -bevy_xr_utils = { path = "crates/bevy_xr_utils", version = "0.4.0" } +bevy_mod_xr = { path = "crates/bevy_xr", version = "0.5.0" } +bevy_mod_openxr = { path = "crates/bevy_openxr", version = "0.5.0" } +bevy_xr_utils = { path = "crates/bevy_xr_utils", version = "0.5.0" } openxr = "0.21.1" thiserror = "2.0.3" wgpu = "27" diff --git a/crates/bevy_openxr/examples/raw_actions.rs b/crates/bevy_openxr/examples/raw_actions.rs index f8dd49a..02bb67c 100644 --- a/crates/bevy_openxr/examples/raw_actions.rs +++ b/crates/bevy_openxr/examples/raw_actions.rs @@ -119,7 +119,7 @@ fn spawn_hands( actions .left .create_space( - session.deref().deref().clone(), + session.deref().deref(), openxr::Path::NULL, Posef::IDENTITY, ) diff --git a/crates/bevy_xr_utils/examples/mndx_xdev_spaces.rs b/crates/bevy_xr_utils/examples/mndx_xdev_spaces.rs index cd0ac1e..2e7e3bb 100644 --- a/crates/bevy_xr_utils/examples/mndx_xdev_spaces.rs +++ b/crates/bevy_xr_utils/examples/mndx_xdev_spaces.rs @@ -11,7 +11,7 @@ fn main() -> AppExit { exts: { let mut exts = OxrExtensions::default(); exts.enable_hand_tracking(); - exts.other.push("XR_MNDX_xdev_space".to_string()); + exts.other.push(c"XR_MNDX_xdev_space".to_bytes_with_nul().to_vec()); exts }, ..Default::default()