[GRASS-SVN] r56334 - grass/trunk/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 20 10:07:41 PDT 2013
Author: annakrat
Date: 2013-05-20 10:07:41 -0700 (Mon, 20 May 2013)
New Revision: 56334
Modified:
grass/trunk/gui/wxpython/nviz/wxnviz.py
Log:
wxNVIZ: fix progress error on wx 2.9
Modified: grass/trunk/gui/wxpython/nviz/wxnviz.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/wxnviz.py 2013-05-20 16:42:49 UTC (rev 56333)
+++ grass/trunk/gui/wxpython/nviz/wxnviz.py 2013-05-20 17:07:41 UTC (rev 56334)
@@ -67,6 +67,8 @@
"""!Redirect progress info"""
global progress
if progress:
+ if not progress.GetRange() == 100:
+ progress.SetRange(100)
progress.SetValue(value)
else:
print value
More information about the grass-commit
mailing list