[gegl/samplers] Fixed lohalo's context_rect values.



commit b856963c0fe44ea66fe84716c39381b5d5b05483
Author: Adam Turcotte <aturcotte src gnome org>
Date:   Sun May 8 17:10:50 2011 -0400

    Fixed lohalo's context_rect values.

 gegl/buffer/gegl-sampler-lohalo.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 9e8761b..969c7d8 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -153,10 +153,10 @@ gegl_sampler_lohalo_class_init (GeglSamplerLohaloClass *klass)
 static void
 gegl_sampler_lohalo_init (GeglSamplerLohalo *self)
 {
-  GEGL_SAMPLER (self)->context_rect.x = -1;
-  GEGL_SAMPLER (self)->context_rect.y = -1;
-  GEGL_SAMPLER (self)->context_rect.width = 4;
-  GEGL_SAMPLER (self)->context_rect.height = 4;
+  GEGL_SAMPLER (self)->context_rect.x = 0;
+  GEGL_SAMPLER (self)->context_rect.y = 0;
+  GEGL_SAMPLER (self)->context_rect.width = 5;
+  GEGL_SAMPLER (self)->context_rect.height = 5;
   GEGL_SAMPLER (self)->interpolate_format = babl_format ("RaGaBaA float");
 }
 



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