From 2ecabc628a0a1887976e5d3013cd503ae25e64eb Mon Sep 17 00:00:00 2001 From: Hombre Date: Mon, 8 Nov 2010 03:08:08 +0100 Subject: [PATCH] Bug correction in the parallelisation of the Saturation slider --- rtengine/improcfun.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index 466528b12..4b12c7548 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -281,7 +281,6 @@ void ImProcFunctions::rgbProc (Image16* working, LabImage* lab, int* hltonecurve int tW = working->width; int tH = working->height; int r, g, b; - float h, s, v; #pragma omp parallel for private(r, g, b,factor,mapval) if (multiThread) for (int i=0; i0.5) { + float h, s, v; rgb2hsv(r,g,b,h,s,v); if (sat>0) { s = (1-(float)sat/100)*s+(float)sat/100*(1-SQR(SQR(1-s)));