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:
Jehan
2019-07-11 11:52:17 +02:00
parent d7668fb0bd
commit c484a0c17b

View File

@ -64,7 +64,7 @@ gimp_drawable_offset (GimpDrawable *drawable,
offset_y %= height;
}
if (offset_x == 0 || offset_y == 0)
if (offset_x == 0 && offset_y == 0)
return;
node = gegl_node_new_child (NULL,