[gimp] app: fix iterated-over area in gimp_gegl_clear()



commit 06923d0f650260e8c522bb1eb03146dc560f59fa
Author: Ell <ell_se yahoo com>
Date:   Sun Dec 2 03:47:22 2018 -0500

    app: fix iterated-over area in gimp_gegl_clear()
    
    Iterate over the per-thread area, not the full region.

 app/gegl/gimp-gegl-loops.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/gegl/gimp-gegl-loops.cc b/app/gegl/gimp-gegl-loops.cc
index 1a23b1bd3b..b3d0713879 100644
--- a/app/gegl/gimp-gegl-loops.cc
+++ b/app/gegl/gimp-gegl-loops.cc
@@ -124,7 +124,7 @@ gimp_gegl_clear (GeglBuffer          *buffer,
     {
       GeglBufferIterator *iter;
 
-      iter = gegl_buffer_iterator_new (buffer, rect, 0, format,
+      iter = gegl_buffer_iterator_new (buffer, area, 0, format,
                                        GEGL_ACCESS_READWRITE, GEGL_ABYSS_NONE,
                                        1);
 


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