mirror of https://github.com/GNOME/gimp.git
Bug 613838 - Error in gimp-hue-saturation PDB call
The "hue" parameter from the PDB is in a [-180..180] range, not in [-100..100]. Note that unlike stated in the bug, this is not an incompatible change, because it simply got broken between 2.4 and 2.6.
This commit is contained in:
parent
aa5833fb9f
commit
2813fce0b8
|
@ -58,7 +58,7 @@ gimp_drawable_hue_saturation (GimpDrawable *drawable,
|
|||
NULL);
|
||||
|
||||
g_object_set (config,
|
||||
"hue", hue / 100.0,
|
||||
"hue", hue / 180.0,
|
||||
"saturation", saturation / 100.0,
|
||||
"lightness", lightness / 100.0,
|
||||
NULL);
|
||||
|
|
Loading…
Reference in New Issue