From aad1fc6ebaa7a0ac852f6475a52db54c40908c47 Mon Sep 17 00:00:00 2001 From: Benjamin Brienen Date: Mon, 11 Nov 2024 19:48:41 +0100 Subject: [PATCH] Fix missing import (#16337) # Objective Should compile successfully with any combination of features ## Solution Add the missing import on the right cfg. ## Testing Tested building locally. Fixes https://github.com/bevyengine/bevy/issues/16352 --- crates/bevy_core_pipeline/src/smaa/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/bevy_core_pipeline/src/smaa/mod.rs b/crates/bevy_core_pipeline/src/smaa/mod.rs index ae294c19b2..7471cdb09a 100644 --- a/crates/bevy_core_pipeline/src/smaa/mod.rs +++ b/crates/bevy_core_pipeline/src/smaa/mod.rs @@ -29,7 +29,8 @@ //! * Compatibility with SSAA and MSAA. //! //! [SMAA]: https://www.iryoku.com/smaa/ - +#[cfg(not(feature = "smaa_luts"))] +use crate::tonemapping::lut_placeholder; use crate::{ core_2d::graph::{Core2d, Node2d}, core_3d::graph::{Core3d, Node3d},