From 98e2e964d002176461da0fdfe7b0291169e34b6e Mon Sep 17 00:00:00 2001 From: Desmis Date: Fri, 15 May 2020 17:11:16 +0200 Subject: [PATCH] Change sensitivity slider lightness Color and light --- rtengine/curves.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtengine/curves.cc b/rtengine/curves.cc index 47c9316bb..e35f081fd 100644 --- a/rtengine/curves.cc +++ b/rtengine/curves.cc @@ -1157,7 +1157,9 @@ void CurveFactory::complexCurvelocal(double ecomp, double black, double hlcompr, // check if brightness curve is needed if (br > 0.00001 || br < -0.00001) { // utili = true; - br /= 4.f;//to avoid artifacts in some cases + if(br > 0) { + br /= 4.f;//to avoid artifacts in some cases + } std::vector brightcurvePoints; brightcurvePoints.resize(9); brightcurvePoints.at(0) = double (DCT_NURBS);