mirror of https://github.com/GNOME/gimp.git
libgimpconfig: don't gimp_rgb_clamp() in gimp_scanner_parse_color()
so config files can now contain oog RGB values too.
This commit is contained in:
parent
6ab57a12cf
commit
05874c1268
|
@ -713,14 +713,11 @@ gimp_scanner_parse_color (GScanner *scanner,
|
|||
GimpHSV hsv;
|
||||
|
||||
gimp_hsva_set (&hsv, col[0], col[1], col[2], col[3]);
|
||||
gimp_hsv_clamp (&hsv);
|
||||
|
||||
gimp_hsv_to_rgb (&hsv, &color);
|
||||
}
|
||||
else
|
||||
{
|
||||
gimp_rgba_set (&color, col[0], col[1], col[2], col[3]);
|
||||
gimp_rgb_clamp (&color);
|
||||
}
|
||||
|
||||
token = G_TOKEN_RIGHT_PAREN;
|
||||
|
|
Loading…
Reference in New Issue