Skip to content

Commit 59bb5df

Browse files
committed
Fix ambiguous camera order in 2d_3d_mixed example
1 parent 67e5b53 commit 59bb5df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_editor_pls/examples/2d_3d_mixed.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ fn setup_3d(
4646
..Default::default()
4747
});
4848
commands.spawn(Camera3dBundle {
49+
camera: Camera { order: 1, ..Default::default() },
4950
transform: Transform::from_xyz(-2.0, 2.5, 5.0).looking_at(Vec3::ZERO, Vec3::Y),
5051
..Default::default()
5152
});

0 commit comments

Comments
 (0)