comment out Raph's saturation changes, didn't work in all cases

* app/hue_saturation.c: comment out Raph's saturation changes, didn't
work in all cases

-Yosh
This commit is contained in:
Manish Singh
1999-03-09 00:31:01 +00:00
parent c8f7dfc8fa
commit a93f0a112b
5 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Mon Mar 8 16:27:25 PST 1999 Manish Singh <yosh@gimp.org>
* app/hue_saturation.c: comment out Raph's saturation changes,
didn't work in all cases
1999-03-08 Tor Lillqvist <tml@iki.fi>
* app/devices.c (devices_write_rc): A line had been deleted by

View File

@ -173,7 +173,10 @@ hue_saturation_calculate_transfers (HueSaturationDialog *hsd)
the new behavior is exactly what you want. It's hard for me
to imagine a case in which the old behavior is better.
*/
#define RAPH
/* This isn't working properly with an image with 0 saturation
* e.g. a grayscale image. Comment out for now -Yosh
*/
/* #define RAPH */
#ifdef RAPH
saturation_transfer[hue][i] = BOUNDS((i * (255 + value)) / 255, 0, 255);
#else

View File

@ -173,7 +173,10 @@ hue_saturation_calculate_transfers (HueSaturationDialog *hsd)
the new behavior is exactly what you want. It's hard for me
to imagine a case in which the old behavior is better.
*/
#define RAPH
/* This isn't working properly with an image with 0 saturation
* e.g. a grayscale image. Comment out for now -Yosh
*/
/* #define RAPH */
#ifdef RAPH
saturation_transfer[hue][i] = BOUNDS((i * (255 + value)) / 255, 0, 255);
#else

View File

@ -173,7 +173,10 @@ hue_saturation_calculate_transfers (HueSaturationDialog *hsd)
the new behavior is exactly what you want. It's hard for me
to imagine a case in which the old behavior is better.
*/
#define RAPH
/* This isn't working properly with an image with 0 saturation
* e.g. a grayscale image. Comment out for now -Yosh
*/
/* #define RAPH */
#ifdef RAPH
saturation_transfer[hue][i] = BOUNDS((i * (255 + value)) / 255, 0, 255);
#else

View File

@ -173,7 +173,10 @@ hue_saturation_calculate_transfers (HueSaturationDialog *hsd)
the new behavior is exactly what you want. It's hard for me
to imagine a case in which the old behavior is better.
*/
#define RAPH
/* This isn't working properly with an image with 0 saturation
* e.g. a grayscale image. Comment out for now -Yosh
*/
/* #define RAPH */
#ifdef RAPH
saturation_transfer[hue][i] = BOUNDS((i * (255 + value)) / 255, 0, 255);
#else