Issue #3641: gimp-drawable-offset does no longer work in script-fu...
... when one of the offsets is zero.
Found by Ell.
(cherry picked from commit a49a79e244
)
This commit is contained in:
@ -64,7 +64,7 @@ gimp_drawable_offset (GimpDrawable *drawable,
|
|||||||
offset_y %= height;
|
offset_y %= height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (offset_x == 0 || offset_y == 0)
|
if (offset_x == 0 && offset_y == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
node = gegl_node_new_child (NULL,
|
node = gegl_node_new_child (NULL,
|
||||||
|
Reference in New Issue
Block a user