Skip to content

Commit

Permalink
gizmo vello rendering over gizmos
Browse files Browse the repository at this point in the history
  • Loading branch information
seabassjh committed Aug 7, 2023
1 parent 76d4c83 commit 99c2c60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rendertarget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ pub fn setup_ss_rendertarget(
.spawn(MaterialMesh2dBundle {
mesh,
material,
transform: Transform::from_translation(0.001 * Vec3::NEG_Z), // Make sure the vello canvas renders behind Gizmos
..Default::default()
})
.insert(NoFrustumCulling)
Expand Down

0 comments on commit 99c2c60

Please sign in to comment.