From 04fec38c3c2b84a4a9d1b8c19f222cd6c630f41f Mon Sep 17 00:00:00 2001 From: DotWith Date: Wed, 19 Jul 2023 03:11:01 -0400 Subject: [PATCH] 0.2.0 Release --- bevy_rmesh/Cargo.toml | 4 ++-- bevy_rmesh/examples/view.rs | 4 ++-- bevy_rmesh/src/lib.rs | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bevy_rmesh/Cargo.toml b/bevy_rmesh/Cargo.toml index 3b38beb..d8aef76 100755 --- a/bevy_rmesh/Cargo.toml +++ b/bevy_rmesh/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_rmesh" -version = "0.1.3" +version = "0.2.0" edition = "2021" license = "MIT OR Apache-2.0" description = "A Bevy extension for RMesh loading" @@ -17,7 +17,7 @@ anyhow = "1.0.68" rmesh = { path = "../rmesh", version = "0.3.2" } [dev-dependencies] -bevy = "0.10.1" +bevy = "0.11.0" [[example]] name = "view" diff --git a/bevy_rmesh/examples/view.rs b/bevy_rmesh/examples/view.rs index 7361bfb..a1baaba 100644 --- a/bevy_rmesh/examples/view.rs +++ b/bevy_rmesh/examples/view.rs @@ -4,8 +4,8 @@ use bevy_rmesh::RMeshPlugin; fn main() { App::new() .add_plugins(DefaultPlugins) - .add_plugin(RMeshPlugin) - .add_startup_system(setup) + .add_plugins(RMeshPlugin) + .add_systems(Startup, setup) .run(); } diff --git a/bevy_rmesh/src/lib.rs b/bevy_rmesh/src/lib.rs index aec45a6..406893f 100755 --- a/bevy_rmesh/src/lib.rs +++ b/bevy_rmesh/src/lib.rs @@ -3,7 +3,7 @@ pub use rmesh; mod loader; -use bevy::{prelude::*, reflect::TypeUuid}; +use bevy::{prelude::*, reflect::{TypeUuid, TypePath}}; #[derive(Default)] pub struct RMeshPlugin; @@ -16,7 +16,7 @@ impl Plugin for RMeshPlugin { } } -#[derive(Debug, TypeUuid)] +#[derive(Debug, TypeUuid, TypePath)] #[uuid = "f652caee-aace-49da-9ea3-a314de33b38f"] pub struct Room { pub scene: Handle, @@ -24,7 +24,7 @@ pub struct Room { // pub entity_meshes: Vec, } -#[derive(Debug, TypeUuid)] +#[derive(Debug, TypeUuid, TypePath)] #[uuid = "2d373e3d-cb2a-468c-ab25-2724f624dd2f"] pub struct RoomMesh { pub mesh: Handle,