mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
c5bf595fe6
commit
19c693a937
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue