Fixed endless loop in chromiluminancecurve, Issue 2821, Fixed some ciecam02 bugs, Issue 2819

This commit is contained in:
Ingo
2015-06-25 22:22:44 +02:00
parent 0bfc5a0e98
commit 90229e99f6
6 changed files with 24 additions and 17 deletions

View File

@@ -930,8 +930,7 @@ void ColorTemp::curvecolorfloat(float satind, float satval, float &sres, float p
if (sres>parsat) sres=parsat;
if (sres<0.f) sres=0.f;
} else {
if (satind < -0.1f)
sres = satval*(1.f+(satind)/100.f);
sres = satval*(1.f+(satind)/100.f);
}
}