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:
Michael Natterer 2010-06-27 01:15:46 +02:00
parent aa5833fb9f
commit 2813fce0b8
1 changed files with 1 additions and 1 deletions

View File

@ -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);