[gegl/threaded-base-classes: 8/22] operation-composer3: bail earlier on 0x0 roi



commit 23db2469cdc17769d9dd7ccaf21b2d379aabf20e
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Jun 24 05:42:51 2014 +0200

    operation-composer3: bail earlier on 0x0 roi

 gegl/operation/gegl-operation-composer3.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-composer3.c b/gegl/operation/gegl-operation-composer3.c
index 4e47753..67a7cb0 100644
--- a/gegl/operation/gegl-operation-composer3.c
+++ b/gegl/operation/gegl-operation-composer3.c
@@ -125,16 +125,6 @@ gegl_operation_composer3_process (GeglOperation        *operation,
       g_warning ("requested processing of %s pad on a composer", output_prop);
       return FALSE;
     }
-  output = gegl_operation_context_get_target (context, "output");
-
-  if (result->width == 0 || result->height == 0)
-    return TRUE;
-
-  if (result->width == 0 || result->height == 0)
-  {
-    output = gegl_operation_context_get_target (context, "output");
-    return TRUE;
-  }
 
   if (result->width == 0 || result->height == 0)
   {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]