mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gauss.c: always use RLE if horz or vert radius is less than 1. Fixes bug #315953.
This commit is contained in:
parent
06638a8912
commit
0e60632d29
|
@ -1,3 +1,8 @@
|
|||
2005-10-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* plug-ins/common/gauss.c: always use RLE if horz or
|
||||
vert radius is less than 1. Fixes bug #315953.
|
||||
|
||||
2005-10-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/jpeg/jpeg-save.c: can't use smoothing with nonstandard
|
||||
|
|
|
@ -660,6 +660,13 @@ gauss (GimpDrawable *drawable,
|
|||
guchar *preview_buffer1 = NULL;
|
||||
guchar *preview_buffer2 = NULL;
|
||||
|
||||
/*
|
||||
* IIR goes wrong if the blur radius is less than 1, so we silently
|
||||
* switch to RLE in this case. See bug #315953
|
||||
*/
|
||||
if (horz <= 1.0 || vert <= 1.0)
|
||||
method = BLUR_RLE;
|
||||
|
||||
if (horz <= 0.0 && vert <= 0.0)
|
||||
{
|
||||
if (preview)
|
||||
|
|
Loading…
Reference in New Issue