[gimp] Issue #3641: gimp-drawable-offset does no longer work in script-fu...
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue #3641: gimp-drawable-offset does no longer work in script-fu...
- Date: Thu, 11 Jul 2019 09:59:14 +0000 (UTC)
commit a49a79e244b14de2639d58f089eb62ccd51ae414
Author: Jehan <jehan girinstud io>
Date: Thu Jul 11 11:52:17 2019 +0200
Issue #3641: gimp-drawable-offset does no longer work in script-fu...
... when one of the offsets is zero.
Found by Ell.
app/core/gimpdrawable-offset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/core/gimpdrawable-offset.c b/app/core/gimpdrawable-offset.c
index 58089c5da5..b7f5eb21fc 100644
--- a/app/core/gimpdrawable-offset.c
+++ b/app/core/gimpdrawable-offset.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]