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:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user