mirror of https://github.com/GNOME/gimp.git
push pixels outwards not to the center as suggested by Chad Daelhousen
2004-05-31 Sven Neumann <sven@gimp.org> * plug-ins/common/mblur.c (mblur_zoom): push pixels outwards not to the center as suggested by Chad Daelhousen (bug #142968).
This commit is contained in:
parent
d834897a52
commit
caf4551bad
|
@ -1,3 +1,8 @@
|
|||
2004-05-31 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/mblur.c (mblur_zoom): push pixels outwards not
|
||||
to the center as suggested by Chad Daelhousen (bug #142968).
|
||||
|
||||
2004-05-31 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/mblur.c: applied patch from William Skaggs that
|
||||
|
|
|
@ -637,8 +637,8 @@ mblur_zoom (GimpDrawable *drawable)
|
|||
|
||||
for (i = 0; i < n; ++i)
|
||||
{
|
||||
xx = center_x + (x - center_x) * (1.0 + f * i);
|
||||
yy = center_y + (y - center_y) * (1.0 + f * i);
|
||||
xx = center_x + (x - center_x) * (1.0 - f * i);
|
||||
yy = center_y + (y - center_y) * (1.0 - f * i);
|
||||
|
||||
if ((yy < sel_y1) || (yy >= sel_y2) ||
|
||||
(xx < sel_x1) || (xx >= sel_x2))
|
||||
|
|
Loading…
Reference in New Issue