[gegl] warp.c: make sure the stamp influence LUT is big enough



commit f28478513d67f89fe7a0c16df2d3c35074b5eb19
Author: Alexia Death <alexiadeath gmail com>
Date:   Sun Feb 16 19:27:34 2014 +0200

    warp.c: make sure the stamp influence LUT is 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 89dba95..f2c81d7 100644
--- a/operations/common/warp.c
+++ b/operations/common/warp.c
@@ -152,7 +152,7 @@ calc_lut (GeglChantO  *o)
   gint          x;
   gdouble       exponent;
 
-  length = ceil (0.5 * o->size + 1.0);
+  length = ceil (0.5 * o->size + 2.0); /* Make sure the stamp's after value also always fits */
 
   priv->lookup = g_malloc (length * sizeof (gdouble));
 


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