More full hue range curve bar fixes, #4271

This one fixes the CIECAM02 color curve,
and the Color Toning opacity curves.
This commit is contained in:
Morgan Hardwood
2018-01-01 22:51:25 +01:00
parent e9782e15e2
commit 9911283266
2 changed files with 6 additions and 4 deletions

View File

@@ -1536,7 +1536,7 @@ void ColorAppearance::colorForValue (double valX, double valY, enum ColorCaller:
float value = (1.f - 0.7f) * float (valX) + 0.7f;
// whole hue range
// Y axis / from 0.15 up to 0.75 (arbitrary values; was 0.45 before)
Color::hsv2rgb01 (float (valY), float (valX), value, R, G, B);
Color::hsv2rgb01 (float (valY*0.8), float (valX), value, R, G, B);
}
caller->ccRed = double (R);