Commit 19c693a9 authored by Ell's avatar Ell

app: add "show all" support to the Perspective Clone tool

... by adapting GimpPerspectiveClone to handle buffers with
arbitrary extents.  Note that the tool doesn't seem to work well in
"sample merged" mode to begin with, but this is unrelated.
parent c5bf595f
Pipeline #112313 passed with stages
in 14 minutes and 22 seconds
......@@ -407,7 +407,8 @@ gimp_perspective_clone_get_source (GimpSourceCore *source_core,
case GIMP_CLONE_IMAGE:
if (! gimp_rectangle_intersect (xmin, ymin,
xmax - xmin, ymax - ymin,
0, 0,
gegl_buffer_get_x (src_buffer),
gegl_buffer_get_y (src_buffer),
gegl_buffer_get_width (src_buffer),
gegl_buffer_get_height (src_buffer),
NULL, NULL, NULL, NULL))
......
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