Fix clippy lint.

This commit is contained in:
Robin KAY 2024-03-03 00:43:16 +00:00
parent ff99c20c77
commit 249a07f202

View File

@ -309,7 +309,7 @@ impl Plugin for OutlinePlugin {
// Run after main 3D pass, but before UI psss
draw_3d_graph.add_node_edge(Node3d::EndMainPass, NodeOutline::OutlinePass);
if let Ok(_) = draw_3d_graph.get_node_state(Node3d::Taa) {
if draw_3d_graph.get_node_state(Node3d::Taa).is_ok() {
draw_3d_graph.add_node_edge(Node3d::Taa, NodeOutline::OutlinePass);
}
#[cfg(feature = "bevy_ui")]