Commit fa390cf5 authored by Thomas Manni's avatar Thomas Manni

Issue #76 - gegl:edge produces artifacts with border-behavior=loop

Don't use gegl_operation_get_required_for_output (which takes into
account the abyss policy) to compute the source rectangle.
parent 0fa33bbe
......@@ -266,7 +266,11 @@ process (GeglOperation *operation,
GeglRectangle rect;
gint x, y, ix, iy, b, idx;
rect = gegl_operation_get_required_for_output (operation, "input", roi);
rect = *roi;
rect.x -= 1;
rect.y -= 1;
rect.width += 2;
rect.height += 2;
src_buff = g_new (gfloat, rect.width * rect.height * components);
dst_buff = g_new0 (gfloat, roi->width * roi->height * components);
......
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