[gegl] spherize: pass-through on infinite planes (issue #179)
- From: Thomas Manni <tmanni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] spherize: pass-through on infinite planes (issue #179)
- Date: Wed, 31 Jul 2019 16:03:28 +0000 (UTC)
commit c2cb2aa87b752013b7f9347fc2504b1affcd6f39
Author: Thomas Manni <thomas manni free fr>
Date: Wed Jul 31 18:00:08 2019 +0200
spherize: pass-through on infinite planes (issue #179)
operations/common/spherize.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/operations/common/spherize.c b/operations/common/spherize.c
index 1a6dee0fd..3ebf459b7 100644
--- a/operations/common/spherize.c
+++ b/operations/common/spherize.c
@@ -79,6 +79,9 @@ is_nop (GeglOperation *operation)
in_rect = gegl_operation_source_get_bounding_box (operation, "input");
+ if (in_rect && gegl_rectangle_is_infinite_plane (in_rect))
+ return TRUE;
+
switch (o->mode)
{
case GEGL_SPHERIZE_MODE_RADIAL:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]