[GRASS-SVN] r68649 - grass/branches/releasebranch_7_0/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 8 18:23:37 PDT 2016


Author: annakrat
Date: 2016-06-08 18:23:37 -0700 (Wed, 08 Jun 2016)
New Revision: 68649

Modified:
   grass/branches/releasebranch_7_0/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_0/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/nviz/mapwindow.py	2016-06-09 01:22:54 UTC (rev 68648)
+++ grass/branches/releasebranch_7_0/gui/wxpython/nviz/mapwindow.py	2016-06-09 01:23:37 UTC (rev 68649)
@@ -447,7 +447,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