[GRASS-SVN] r66587 - grass/trunk/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 23 14:30:42 PDT 2015


Author: annakrat
Date: 2015-10-23 14:30:42 -0700 (Fri, 23 Oct 2015)
New Revision: 66587

Modified:
   grass/trunk/gui/wxpython/nviz/tools.py
Log:
wxGUI/nviz: fix selecting 3D raster

Modified: grass/trunk/gui/wxpython/nviz/tools.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/tools.py	2015-10-23 18:41:10 UTC (rev 66586)
+++ grass/trunk/gui/wxpython/nviz/tools.py	2015-10-23 21:30:42 UTC (rev 66587)
@@ -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