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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 5 19:21:48 PST 2015


Author: annakrat
Date: 2015-11-05 19:21:48 -0800 (Thu, 05 Nov 2015)
New Revision: 66756

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py
Log:
wxGUI/nviz: fix selecting 3D raster, merge from trunk r66587

Modified: grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py	2015-11-06 03:16:35 UTC (rev 66755)
+++ grass/branches/releasebranch_7_0/gui/wxpython/nviz/tools.py	2015-11-06 03:21:48 UTC (rev 66756)
@@ -1514,6 +1514,8 @@
     def GselectOnPopup(self, ltype, exclude = False):
         """Update gselect.Select() items"""
         maps = list()
+        # TODO: sync the element names
+        ltype = '3d-raster' if ltype == 'raster_3d' else ltype
         for layer in self.mapWindow.Map.GetListOfLayers(ltype = ltype, active = True):
             maps.append(layer.GetName())
         return maps, exclude



More information about the grass-commit mailing list