From 1960d0928619523af9ff63b0e85985b44a3a4944 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 30 Nov 2012 08:52:01 -0500 Subject: [PATCH] Fix for enabling bwtoning (see issue 1633) --- rtengine/improcfun.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 84229ed8e..0c2e0659e 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -1235,7 +1235,7 @@ void ImProcFunctions::chromiLuminanceCurve (LabImage* lold, LabImage* lnew, LUTf bool ccut = ccutili; double rstprotection = 100.-params->labCurve.rstprotection; // Red and Skin Tones Protection // avoid color shift is disabled when bwToning is activated and enabled if gamut is true in colorappearanace - bool avoidColorShift = (params->labCurve.avoidcolorshift && !bwToning) || params->colorappearance.gamut; + bool avoidColorShift = (params->labCurve.avoidcolorshift || params->colorappearance.gamut) && !bwToning; int protectRed = settings->protectred; double protectRedH = settings->protectredh; bool gamutLch = settings->gamutLch;