Commit a93f0a11 authored by Manish Singh's avatar Manish Singh
Browse files

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
parent c8f7dfc8
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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment