[gegl] fix shift-x/y initial values for linear buffers.



commit e97d336aa72ad1a9fcd8f04047f719a5791378f4
Author: Simon Budig <simon budig de>
Date:   Wed May 23 22:56:22 2012 +0200

    fix shift-x/y initial values for linear buffers.
    
    Helps with bug #676481

 gegl/buffer/gegl-buffer-linear.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-linear.c b/gegl/buffer/gegl-buffer-linear.c
index 0202dd0..9db8e96 100644
--- a/gegl/buffer/gegl-buffer-linear.c
+++ b/gegl/buffer/gegl-buffer-linear.c
@@ -38,8 +38,8 @@ gegl_buffer_linear_new2 (const GeglRectangle *extent,
   buffer = g_object_new (GEGL_TYPE_BUFFER,
                        "x",          extent->x,
                        "y",          extent->y,
-                       "shift-x",    extent->x,
-                       "shift-y",    extent->y,
+                       "shift-x",    0,
+                       "shift-y",    0,
                        "width",      extent->width,
                        "height",     extent->height,
                        "tile-width", rowstride,



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