diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 49a298c23..2d81c4d8b 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -2880,7 +2880,7 @@ void ImProcFunctions::chromiLuminanceCurve (int pW, LabImage* lold, LabImage* ln // reference to the params structure has to be done outside of the parallelization to avoid CPU cache problem bool highlight = params->hlrecovery.enabled; //Get the value if "highlight reconstruction" is activated int chromaticity = params->labCurve.chromaticity; - bool bwToning = params->labCurve.chromaticity==-100 /*|| params->blackwhite.method=="Ch" */ || params->blackwhite.enabled || params->blackwhite.gammaRed!=0 || params->blackwhite.gammaGreen!=0 || params->blackwhite.gammaBlue!=0; + bool bwToning = params->labCurve.chromaticity==-100 /*|| params->blackwhite.method=="Ch" */ || params->blackwhite.enabled; //if(bwToning) printf("OK bwto\n"); else printf("pas de bw\n"); bool LCredsk = params->labCurve.lcredsk; bool ccut = ccutili;