From 8af287aa8c9659ae2e0f2fff31f8de8c854f63d7 Mon Sep 17 00:00:00 2001 From: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com> Date: Sun, 12 Jul 2020 11:00:12 +0200 Subject: [PATCH] Re-enable Soft light in preview (fixes #5844) Regression fix from https://github.com/Beep6581/RawTherapee/commit/e573de78b47863bc1dd178057c89ac07fffa492b where the Soft light module was wrongly incorporated into the Wavelet conditional block. --- rtengine/dcrop.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtengine/dcrop.cc b/rtengine/dcrop.cc index ce7714e21..0ac39e66e 100644 --- a/rtengine/dcrop.cc +++ b/rtengine/dcrop.cc @@ -1278,7 +1278,7 @@ void Crop::update(int todo) WaveParams.expnoise = false; } - parent->ipf.softLight(labnCrop, params.softlight); + // parent->ipf.ip_wavelet(labnCrop, labnCrop, kall, WaveParams, wavCLVCurve, wavblcurve, waOpacityCurveRG, waOpacityCurveBY, waOpacityCurveW, waOpacityCurveWL, parent->wavclCurve, skip); @@ -1407,6 +1407,8 @@ void Crop::update(int todo) } + + parent->ipf.softLight(labnCrop, params.softlight); if (params.colorappearance.enabled) { float fnum = parent->imgsrc->getMetaData()->getFNumber(); // F number