From 5bd82a5c88b46bea55598497be9a8f100430d8a3 Mon Sep 17 00:00:00 2001 From: Desmis Date: Wed, 13 Sep 2017 09:23:06 +0200 Subject: [PATCH] add la < 200 --- rtengine/improcfun.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/improcfun.cc b/rtengine/improcfun.cc index c8faa4ce0..236805f6c 100644 --- a/rtengine/improcfun.cc +++ b/rtengine/improcfun.cc @@ -1681,11 +1681,11 @@ void ImProcFunctions::ciecam_02float (CieImage* ncie, float adap, int begh, int } } - /* + if (alg >= 2 && la < 200.f) { la = 200.f; } - */ + const float la2 = float (params->colorappearance.adaplum); // level of adaptation