mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-12-22 23:54:10 +00:00
chore(testing): modified paths to account for new changes on the blender side
This commit is contained in:
parent
26ea12cc4c
commit
f387fbec48
@ -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,
|
||||
|
@ -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)]
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user