From 37e80745d2bfc18961c5f33c999ba3601468a71a Mon Sep 17 00:00:00 2001 From: Sludge <96552222+SludgePhD@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:59:46 +0100 Subject: [PATCH] Derive `Debug` for `BloomCompositeMode` (#11041) # Objective - API guidelines recommend that every type should implement `Debug` where possible. ## Solution - Do that. --- crates/bevy_core_pipeline/src/bloom/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_core_pipeline/src/bloom/settings.rs b/crates/bevy_core_pipeline/src/bloom/settings.rs index 8d2d3bdd4d..a5514a9f96 100644 --- a/crates/bevy_core_pipeline/src/bloom/settings.rs +++ b/crates/bevy_core_pipeline/src/bloom/settings.rs @@ -175,7 +175,7 @@ pub struct BloomPrefilterSettings { pub threshold_softness: f32, } -#[derive(Clone, Reflect, PartialEq, Eq, Hash, Copy)] +#[derive(Debug, Clone, Reflect, PartialEq, Eq, Hash, Copy)] pub enum BloomCompositeMode { EnergyConserving, Additive,