From e849d4fcc1fc749372818be0514794d4d88f6d9d Mon Sep 17 00:00:00 2001 From: Desmis Date: Thu, 14 Feb 2019 11:11:07 +0100 Subject: [PATCH] enabled curve alone in exposure inverse --- rtengine/iplocallab.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 37adc53d2..c39b84e3e 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -7869,8 +7869,8 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o } //inverse - else if (lp.invex && (lp.expcomp != 0 || lp.war != 0) && lp.exposena) { - float adjustr = 2.f; + else if (lp.invex && (lp.expcomp != 0 || lp.war != 0 || (exlocalcurve && localexutili)) && lp.exposena) { + float adjustr = 2.f; InverseColorLight_Local(sp, 1, lp, lightCurveloc, hltonecurveloc, shtonecurveloc, tonecurveloc, exlocalcurve, cclocalcurve, adjustr, localcutili, lllocalcurve, locallutili, original, transformed, cx, cy, hueref, chromaref, lumaref, sk); }