From f387fbec48af4a88902515b63d800b5dd43a0bd6 Mon Sep 17 00:00:00 2001 From: "kaosat.dev" Date: Mon, 29 Apr 2024 00:06:45 +0200 Subject: [PATCH] chore(testing): modified paths to account for new changes on the blender side --- testing/bevy_example/src/core/mod.rs | 2 +- testing/bevy_example/src/game/animation.rs | 2 +- testing/bevy_example/src/game/in_game.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/bevy_example/src/core/mod.rs b/testing/bevy_example/src/core/mod.rs index 339ea40..795b1c4 100644 --- a/testing/bevy_example/src/core/mod.rs +++ b/testing/bevy_example/src/core/mod.rs @@ -9,7 +9,7 @@ impl Plugin for CorePlugin { ExportRegistryPlugin::default(), BlueprintsPlugin { legacy_mode: false, - library_folder: "models/library".into(), + library_folder: "blueprints".into(), format: GltfFormat::GLB, material_library: true, aabbs: true, diff --git a/testing/bevy_example/src/game/animation.rs b/testing/bevy_example/src/game/animation.rs index 3b3ea69..821fa94 100644 --- a/testing/bevy_example/src/game/animation.rs +++ b/testing/bevy_example/src/game/animation.rs @@ -31,7 +31,7 @@ pub struct MarkerFox; pub struct AnimTest(Handle); pub fn setup_main_scene_animations(asset_server: Res, mut commands: Commands) { - commands.insert_resource(AnimTest(asset_server.load("models/World.glb"))); + commands.insert_resource(AnimTest(asset_server.load("levels/World.glb"))); } #[allow(clippy::type_complexity)] diff --git a/testing/bevy_example/src/game/in_game.rs b/testing/bevy_example/src/game/in_game.rs index a5cda69..a8eb49f 100644 --- a/testing/bevy_example/src/game/in_game.rs +++ b/testing/bevy_example/src/game/in_game.rs @@ -13,7 +13,7 @@ pub fn setup_game( // here we actually spawn our game world/level commands.spawn(( SceneBundle { - scene: asset_server.load("models/World.glb#Scene0"), + scene: asset_server.load("levels/World.glb#Scene0"), ..default() }, bevy::prelude::Name::from("world"),