[GRASS-SVN] r57628 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 10 06:01:10 PDT 2013


Author: annakrat
Date: 2013-09-10 06:01:10 -0700 (Tue, 10 Sep 2013)
New Revision: 57628

Modified:
   grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: fix statusbar progressbar when there is a 3d raster loaded

Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py	2013-09-10 12:49:09 UTC (rev 57627)
+++ grass/trunk/gui/wxpython/core/render.py	2013-09-10 13:01:10 UTC (rev 57628)
@@ -1373,7 +1373,8 @@
                                  'downloading' : [], # layers, which are downloading data
                                  'rendered' : [], # already rendered layers
                                  'range' : len(self.GetListOfLayers(active = True)) + 
-                                           len(self.GetListOfLayers(active = True, ltype = 'overlay'))}
+                                           len(self.GetListOfLayers(active = True, ltype = 'overlay')) -
+                                           len(self.GetListOfLayers(active = True, ltype = '3d-raster'))}
         else:
             if layer not in self.progressInfo['rendered']:
                 self.progressInfo['rendered'].append(layer)



More information about the grass-commit mailing list