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



commit 33a015abef088805b0fc78032ca97cbaec6970be
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.
    
    (cherry picked from commit 06923d0f650260e8c522bb1eb03146dc560f59fa)

 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 26d4a25f02..859a013eec 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]