[gimp] Bug 725112 - Small canvas doesn't update when zoomed out



commit 6e4f9185be8ad0b39cecbc7f86b6237f58806668
Author: Michael Natterer <mitch gimp org>
Date:   Tue Mar 4 19:30:29 2014 +0100

    Bug 725112 - Small canvas doesn't update when zoomed out
    
    gimp_tile_handler_projection_invalidate(): need to invalidate
    all levels up to max_z not max_z - 1. Spotted by Massimo.

 app/gegl/gimptilehandlerprojection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimptilehandlerprojection.c b/app/gegl/gimptilehandlerprojection.c
index 69ed2f2..a5602d2 100644
--- a/app/gegl/gimptilehandlerprojection.c
+++ b/app/gegl/gimptilehandlerprojection.c
@@ -327,7 +327,7 @@ gimp_tile_handler_projection_invalidate (GimpTileHandlerProjection *projection,
       gint tile_y;
       gint tile_z;
 
-      for (tile_z = 1; tile_z < projection->max_z; tile_z++)
+      for (tile_z = 1; tile_z <= projection->max_z; tile_z++)
         {
           tile_y1 = tile_y1 / 2;
           tile_y2 = (tile_y2 + 1) / 2;


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