Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jun 6, 2022
1 parent 96d4ba7 commit 2a1f993
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/3d/split_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ fn setup(
..default()
});

commands.spawn_scene(asset_server.load("models/animated/Fox.glb#Scene0"));
commands.spawn_bundle(SceneBundle {
scene: asset_server.load("models/animated/Fox.glb#Scene0"),
..default()
});

// Light
commands.spawn_bundle(DirectionalLightBundle {
Expand Down

0 comments on commit 2a1f993

Please sign in to comment.