[GRASS-SVN] r68648 - grass/branches/releasebranch_7_2/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 8 18:22:54 PDT 2016
Author: annakrat
Date: 2016-06-08 18:22:54 -0700 (Wed, 08 Jun 2016)
New Revision: 68648
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/nviz/mapwindow.py
Log:
wxGUI/nviz: when showing legend parameter at can have floats not just int (merge from trunk, r68647)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/nviz/mapwindow.py 2016-06-09 01:21:16 UTC (rev 68647)
+++ grass/branches/releasebranch_7_2/gui/wxpython/nviz/mapwindow.py 2016-06-09 01:22:54 UTC (rev 68648)
@@ -479,7 +479,7 @@
if 0 in self.overlays:
for param in self.overlays[0].cmd[1:]:
if param.startswith("at="):
- size = map(int, param.split("=")[-1].split(','))
+ size = map(float, param.split("=")[-1].split(','))
break
if size:
wSize = self.GetClientSizeTuple()
More information about the grass-commit
mailing list