mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
Fix clippy error
This commit is contained in:
parent
d4ad6253ad
commit
4e4d79033a
1 changed files with 9 additions and 11 deletions
|
@ -642,8 +642,7 @@ pub fn queue_material_meshes<M: Material>(
|
||||||
batch_range: 0..1,
|
batch_range: 0..1,
|
||||||
dynamic_offset: None,
|
dynamic_offset: None,
|
||||||
});
|
});
|
||||||
} else {
|
} else if forward {
|
||||||
if forward {
|
|
||||||
opaque_phase.add(Opaque3d {
|
opaque_phase.add(Opaque3d {
|
||||||
entity: *visible_entity,
|
entity: *visible_entity,
|
||||||
draw_function: draw_opaque_pbr,
|
draw_function: draw_opaque_pbr,
|
||||||
|
@ -654,7 +653,6 @@ pub fn queue_material_meshes<M: Material>(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
AlphaMode::Mask(_) => {
|
AlphaMode::Mask(_) => {
|
||||||
if forward {
|
if forward {
|
||||||
alpha_mask_phase.add(AlphaMask3d {
|
alpha_mask_phase.add(AlphaMask3d {
|
||||||
|
|
Loading…
Reference in a new issue