Commit caf4551b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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).
parent d834897a
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))
......
Markdown is supported
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