[gegl] common/warp: make sure the stamp lut is always big enough



commit 87f664f6a524907b0fb5b122990822cb07359f75
Author: Alexia Death <alexiadeath gmail com>
Date:   Mon Feb 17 20:07:06 2014 +0200

    common/warp: make sure the stamp lut is always big enough

 operations/common/warp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/warp.c b/operations/common/warp.c
index 801109e..d00cc91 100644
--- a/operations/common/warp.c
+++ b/operations/common/warp.c
@@ -160,7 +160,7 @@ calc_lut (GeglChantO  *o)
   gint          x;
   gdouble       exponent;
 
-  length = (gint)(0.5 * o->size + 1.0) + 1;
+  length = (gint)(0.5 * o->size + 1.0) + 2;
 
   priv->lookup = g_malloc (length * sizeof (gdouble));
 


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