mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-22 20:00:53 +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(),
|
ExportRegistryPlugin::default(),
|
||||||
BlueprintsPlugin {
|
BlueprintsPlugin {
|
||||||
legacy_mode: false,
|
legacy_mode: false,
|
||||||
library_folder: "models/library".into(),
|
library_folder: "blueprints".into(),
|
||||||
format: GltfFormat::GLB,
|
format: GltfFormat::GLB,
|
||||||
material_library: true,
|
material_library: true,
|
||||||
aabbs: true,
|
aabbs: true,
|
||||||
|
@ -31,7 +31,7 @@ pub struct MarkerFox;
|
|||||||
pub struct AnimTest(Handle<Gltf>);
|
pub struct AnimTest(Handle<Gltf>);
|
||||||
|
|
||||||
pub fn setup_main_scene_animations(asset_server: Res<AssetServer>, mut commands: Commands) {
|
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)]
|
#[allow(clippy::type_complexity)]
|
||||||
|
@ -13,7 +13,7 @@ pub fn setup_game(
|
|||||||
// here we actually spawn our game world/level
|
// here we actually spawn our game world/level
|
||||||
commands.spawn((
|
commands.spawn((
|
||||||
SceneBundle {
|
SceneBundle {
|
||||||
scene: asset_server.load("models/World.glb#Scene0"),
|
scene: asset_server.load("levels/World.glb#Scene0"),
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
bevy::prelude::Name::from("world"),
|
bevy::prelude::Name::from("world"),
|
||||||
|
Loading…
Reference in New Issue
Block a user