mirror of https://github.com/GNOME/gimp.git
removed forgotten debug output
This commit is contained in:
parent
7679f4adba
commit
ace029c120
|
@ -49,8 +49,6 @@ brightness_contrast_lut_func (BrightnessContrastLutData *data,
|
||||||
if ((nchannels == 2 || nchannels == 4) && channel == nchannels -1)
|
if ((nchannels == 2 || nchannels == 4) && channel == nchannels -1)
|
||||||
return value;
|
return value;
|
||||||
|
|
||||||
g_printerr ("%g ", value);
|
|
||||||
|
|
||||||
/* apply brightness */
|
/* apply brightness */
|
||||||
if (data->brightness < 0.0)
|
if (data->brightness < 0.0)
|
||||||
value = value * (1.0 + data->brightness);
|
value = value * (1.0 + data->brightness);
|
||||||
|
@ -60,8 +58,6 @@ brightness_contrast_lut_func (BrightnessContrastLutData *data,
|
||||||
slant = tan ((data->contrast + 1) * G_PI_4);
|
slant = tan ((data->contrast + 1) * G_PI_4);
|
||||||
value = (value - 0.5) * slant + 0.5;
|
value = (value - 0.5) * slant + 0.5;
|
||||||
|
|
||||||
g_printerr ("%g\n", value);
|
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue