diff --git a/crates/pipeline/src/finish.rs b/crates/pipeline/src/finish.rs index 5cba3dd2d0..227f54a636 100644 --- a/crates/pipeline/src/finish.rs +++ b/crates/pipeline/src/finish.rs @@ -354,13 +354,11 @@ pub fn base_tone(s: &DevelopSettings, info: &SourceInfo, peak: f32) -> ToneMap { }, // V4, with a raw's tone curve rolling off into white in stops: a camera curve past its last // knot, the generic curve from half a stop below its white point instead of clipping (issue #1632) - Process::V5 | Process::V6 | Process::V7 | Process::V8 | Process::V10 | Process::V13 => { - match info.camera_tone.as_ref().filter(|_| info.raw) { - Some(curve) => ToneMap::camera_rolloff_hdr(curve, 0.0, l.whites, 0.0, peak), - None if info.raw => ToneMap::rolloff_hdr(l.contrast, l.whites, l.blacks, peak), - None => ToneMap::display_hdr(l.contrast, l.whites, l.blacks, peak), - } - } + Process::V5 | Process::V6 | Process::V7 | Process::V8 | Process::V10 | Process::V13 => match info.camera_tone.as_ref().filter(|_| info.raw) { + Some(curve) => ToneMap::camera_rolloff_hdr(curve, 0.0, l.whites, 0.0, peak), + None if info.raw => ToneMap::rolloff_hdr(l.contrast, l.whites, l.blacks, peak), + None => ToneMap::display_hdr(l.contrast, l.whites, l.blacks, peak), + }, } }