[gegl/soc-2012-ops: 16/58] Oilify Operation: Cleanup



commit 56318610034ba1a864ac0056da3c932e0ef92987
Author: Hans Lo <hansshulo gmail com>
Date:   Mon Jul 16 04:09:37 2012 -0400

    Oilify Operation: Cleanup

 operations/common/oilify.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/operations/common/oilify.c b/operations/common/oilify.c
index 5c3e97f..fc5c53f 100644
--- a/operations/common/oilify.c
+++ b/operations/common/oilify.c
@@ -117,16 +117,7 @@ oilify_pixel (gint x,
         {
           if (i*i + j*j <= radius_sq)
             {
-              if (x + i < 0 ||
-                  x + i > whole_rect->width ||
-                  y + j < 0 ||
-                  y + j > whole_rect->height)
-                {
-                  if (x + i < 0)
-                    g_print("%d %d\n", x+i, y+j);
-                  continue;
-                }
-              get_pixel (x + i,
+	      get_pixel (x + i,
                          y + j,
                          buf_width,
                          src_buf,



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