Don't report vibrance processing time if vibrance is disabled

This commit is contained in:
heckflosse 2018-03-22 02:16:57 +01:00
parent a75de0a6c5
commit 32e9c454f5

View File

@ -70,10 +70,10 @@ void fillCurveArrayVib (DiagonalCurve* diagCurve, LUTf &outCurve)
*/ */
void ImProcFunctions::vibrance (LabImage* lab) void ImProcFunctions::vibrance (LabImage* lab)
{ {
BENCHFUN
if (!params->vibrance.enabled) { if (!params->vibrance.enabled) {
return; return;
} }
BENCHFUN
// int skip=1; //scale==1 ? 1 : 16; // int skip=1; //scale==1 ? 1 : 16;
bool skinCurveIsSet = false; bool skinCurveIsSet = false;