[GRASS-SVN] r47177 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 18 16:18:59 EDT 2011
Author: annakrat
Date: 2011-07-18 13:18:59 -0700 (Mon, 18 Jul 2011)
New Revision: 47177
Modified:
grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
Log:
wxNviz: fix bug in FloatSlider
Modified: grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_tools.py 2011-07-18 20:11:46 UTC (rev 47176)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_tools.py 2011-07-18 20:18:59 UTC (rev 47177)
@@ -118,6 +118,9 @@
Debug.msg(1, "FloatSlider.__init__()")
wx.Slider.__init__(self, **kwargs)
self.coef = 1.
+ #init range
+ self.minValueOrig = 0
+ self.maxValueOrig = 1
def SetValue(self, value):
value *= self.coef
More information about the grass-commit
mailing list