chore(testing): modified paths to account for new changes on the blender side

This commit is contained in:
kaosat.dev 2024-04-29 00:06:45 +02:00
parent 26ea12cc4c
commit f387fbec48
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -31,7 +31,7 @@ pub struct MarkerFox;
pub struct AnimTest(Handle<Gltf>);
pub fn setup_main_scene_animations(asset_server: Res<AssetServer>, 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)]

View File

@ -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"),