Commit b0b918f8 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

applied a patch from Toby Smith that fixes bug #90968.

2002-12-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: applied a patch from Toby Smith
	that fixes bug #90968.
parent c7afb9fb
2002-12-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/sel_gauss.c: applied a patch from Toby Smith
that fixes bug #90968.
2002-12-14 Michael Natterer <mitch@gimp.org>
 
* app/plug-in/plug-ins.c (plug_ins_proc_def_add): fixed a comment.
......
......@@ -427,16 +427,15 @@ sel_gauss (GimpDrawable *drawable,
src = g_new (guchar, width * height * bytes);
dest = g_new (guchar, width * height * bytes);
gimp_pixel_rgn_init (&src_rgn, drawable, x1, y1, drawable->width,
drawable->height, FALSE, FALSE);
gimp_pixel_rgn_init (&src_rgn,
drawable, x1, y1, width, height, FALSE, FALSE);
gimp_pixel_rgn_get_rect (&src_rgn, src, x1, y1, width, height);
matrixmult (src, dest, width, height, mat, numrad,
bytes, has_alpha, maxdelta);
gimp_pixel_rgn_init (&dest_rgn, drawable, x1, y1, width, height,
TRUE, TRUE);
gimp_pixel_rgn_init (&dest_rgn,
drawable, x1, y1, width, height, TRUE, TRUE);
gimp_pixel_rgn_set_rect (&dest_rgn, dest, x1, y1, width, height);
/* merge the shadow, update the drawable */
......
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