Patch on the exposure patch ;)

This commit is contained in:
Emil Martinec 2010-07-31 16:07:14 -05:00
parent e39dd457dd
commit af79badffe

View File

@ -424,7 +424,7 @@ void CurveFactory::complexCurve (double ecomp, double black, double hlcompr, dou
double add = 0.099;
// theoretical maximum of the curve
double D = gamma_>0 ? gamma (def_mul, gamma_, start, slope, mul, add) : def_mul;
double D = /* gamma_>0 ? gamma (def_mul, gamma_, start, slope, mul, add) : */ def_mul;
// a: slope of the curve, black: starting point at the x axis
double a = pow (2.0, ecomp);
@ -464,7 +464,6 @@ void CurveFactory::complexCurve (double ecomp, double black, double hlcompr, dou
//D *= atmp;
// apply base curve, thus, exposure compensation and black point with shadow and highlight protection
val = basecurve (val, a, black, D, hlcompr/100.0, shcompr/100.0);