diff --git a/app/paint/gimppaintcore-loops.c b/app/paint/gimppaintcore-loops.c index a7b74b31e6..816d16d41c 100644 --- a/app/paint/gimppaintcore-loops.c +++ b/app/paint/gimppaintcore-loops.c @@ -345,7 +345,7 @@ do_layer_blend (GeglBuffer *src_buffer, for (iy = 0; iy < iter->roi[0].height; iy++) { - process_roi.x = iter->roi[0].y + iy; + process_roi.y = iter->roi[0].y + iy; (*apply_func) (in_pixel, paint_pixel, diff --git a/app/tools/gimpseamlessclonetool.c b/app/tools/gimpseamlessclonetool.c index b0f93e1795..82fbb04f7d 100644 --- a/app/tools/gimpseamlessclonetool.c +++ b/app/tools/gimpseamlessclonetool.c @@ -676,8 +676,8 @@ gimp_seamless_clone_tool_render_node_update (GimpSeamlessCloneTool *sc) gimp_item_get_offset (GIMP_ITEM (bg), &off_x, &off_y); gegl_node_set (sc->sc_node, - "xoff", (gint) sc->xoff - off_y, - "yoff", (gint) sc->yoff - off_x, + "xoff", (gint) sc->xoff - off_x, + "yoff", (gint) sc->yoff - off_y, NULL); }