Skip to content

Commit 0b55e87

Browse files
committed
CI fix
1 parent 037a3b0 commit 0b55e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_pbr/src/wireframe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fn prepare_wireframes(
9797
});
9898

9999
let add_wireframe_uniform = |(entity, wireframe): (Entity, Option<&Wireframe>)| {
100-
let custom_color = wireframe.map(|wireframe| wireframe.color).flatten();
100+
let custom_color = wireframe.and_then(|wireframe| wireframe.color);
101101
let uniform_offset = WireframeUniformOffset(if let Some(custom_color) = custom_color {
102102
wireframe_meta.uniforms.push(WireframeUniform {
103103
color: custom_color.as_linear_rgba_f32().into(),

0 commit comments

Comments
 (0)