[gegl] Use the correct rect for abyss of sub-buffers (bug 723419)



commit ee53e23afaa5082c5813b35cb132b6e85a0bbd3b
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Sat Feb 1 21:03:39 2014 -0800

    Use the correct rect for abyss of sub-buffers (bug 723419)
    
    This does not impact normal buffers because their abyss and extent
    rects are synchronized.

 gegl/buffer/gegl-buffer-iterator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-iterator.c b/gegl/buffer/gegl-buffer-iterator.c
index 3aafb26..417992f 100644
--- a/gegl/buffer/gegl-buffer-iterator.c
+++ b/gegl/buffer/gegl-buffer-iterator.c
@@ -362,7 +362,7 @@ needs_indirect_read (GeglBufferIterator *iter,
     return TRUE;
 
   /* Needs abyss generation */
-  if (!gegl_rectangle_contains (&sub->buffer->extent, &iter->roi[index]))
+  if (!gegl_rectangle_contains (&sub->buffer->abyss, &iter->roi[index]))
     return TRUE;
 
   return FALSE;


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