Bug 732698 - Select > Shrink/Grow/Border not working in GIMP master

Always pass level = 0 to gegl_buffer_set(). This actually makes a
difference since GEGL's level processing got some fixes.
This commit is contained in:
Michael Natterer 2014-07-03 20:47:02 +02:00
parent 4d50c3aafd
commit 249041d927
6 changed files with 8 additions and 8 deletions

View file

@ -406,7 +406,7 @@ gimp_operation_border_process (GeglOperation *operation,
gegl_buffer_set (output,
GEGL_RECTANGLE (roi->x, roi->y,
roi->width, 1),
1.0, output_format, transition,
0, output_format, transition,
GEGL_AUTO_ROWSTRIDE);
for (y = 1; y < roi->height; y++)
@ -441,7 +441,7 @@ gimp_operation_border_process (GeglOperation *operation,
gegl_buffer_set (output,
GEGL_RECTANGLE (roi->x, roi->y + y,
roi->width, 1),
1.0, output_format, transition,
0, output_format, transition,
GEGL_AUTO_ROWSTRIDE);
}
@ -713,7 +713,7 @@ gimp_operation_border_process (GeglOperation *operation,
gegl_buffer_set (output,
GEGL_RECTANGLE (roi->x, roi->y + y,
roi->width, 1),
1.0, output_format, out,
0, output_format, out,
GEGL_AUTO_ROWSTRIDE);
}

View file

@ -367,7 +367,7 @@ gimp_operation_grow_process (GeglOperation *operation,
gegl_buffer_set (output,
GEGL_RECTANGLE (roi->x, roi->y + y,
roi->width, 1),
1.0, output_format, out,
0, output_format, out,
GEGL_AUTO_ROWSTRIDE);
}

View file

@ -307,7 +307,7 @@ gimp_operation_shapeburst_process (GeglOperation *operation,
gegl_buffer_set (output,
GEGL_RECTANGLE (roi->x, roi->y + y,
roi->width, 1),
1.0, output_format, distbuf_cur,
0, output_format, distbuf_cur,
GEGL_AUTO_ROWSTRIDE);
g_object_set (operation,

View file

@ -418,7 +418,7 @@ gimp_operation_shrink_process (GeglOperation *operation,
gegl_buffer_set (output,
GEGL_RECTANGLE (roi->x, roi->y + y,
roi->width, 1),
1.0, output_format, out,
0, output_format, out,
GEGL_AUTO_ROWSTRIDE);
}

View file

@ -684,7 +684,7 @@ drawable_set_pixel_invoker (GimpProcedure *procedure,
{
gegl_buffer_set (gimp_drawable_get_buffer (drawable),
GEGL_RECTANGLE (x_coord, y_coord, 1, 1),
1.0, format, pixel, GEGL_AUTO_ROWSTRIDE);
0, format, pixel, GEGL_AUTO_ROWSTRIDE);
}
else
success = FALSE;

View file

@ -692,7 +692,7 @@ HELP
{
gegl_buffer_set (gimp_drawable_get_buffer (drawable),
GEGL_RECTANGLE (x_coord, y_coord, 1, 1),
1.0, format, pixel, GEGL_AUTO_ROWSTRIDE);
0, format, pixel, GEGL_AUTO_ROWSTRIDE);
}
else
success = FALSE;