Skip to content

Commit 2a1f993

Browse files
committed
update example
1 parent 96d4ba7 commit 2a1f993

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/3d/split_screen.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ fn setup(
2929
..default()
3030
});
3131

32-
commands.spawn_scene(asset_server.load("models/animated/Fox.glb#Scene0"));
32+
commands.spawn_bundle(SceneBundle {
33+
scene: asset_server.load("models/animated/Fox.glb#Scene0"),
34+
..default()
35+
});
3336

3437
// Light
3538
commands.spawn_bundle(DirectionalLightBundle {

0 commit comments

Comments
 (0)