[GRASS-SVN] r57937 - grass/trunk/gui/wxpython/animation

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 4 05:00:55 PDT 2013


Author: annakrat
Date: 2013-10-04 05:00:54 -0700 (Fri, 04 Oct 2013)
New Revision: 57937

Modified:
   grass/trunk/gui/wxpython/animation/mapwindow.py
Log:
wxGUI/animation: fix progress dialog

Modified: grass/trunk/gui/wxpython/animation/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/animation/mapwindow.py	2013-10-04 11:16:10 UTC (rev 57936)
+++ grass/trunk/gui/wxpython/animation/mapwindow.py	2013-10-04 12:00:54 UTC (rev 57937)
@@ -362,9 +362,9 @@
             if not force and name in self.bitmapPool and \
                self.bitmapPool[name].GetSize() == (self.imageWidth, self.imageHeight):
                 continue
-                count += 1
-                if len(raster) > maxLength:
-                    maxLength = len(raster)
+            count += 1
+            if len(raster) > maxLength:
+                maxLength = len(raster)
 
         return count, maxLength
 



More information about the grass-commit mailing list