[GRASS-SVN] r70239 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 4 04:35:46 PST 2017


Author: martinl
Date: 2017-01-04 04:35:46 -0800 (Wed, 04 Jan 2017)
New Revision: 70239

Modified:
   grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI/lmgr: zoom/set computation region make sense also for different map types (typically raster & vector)

Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py	2017-01-04 12:12:02 UTC (rev 70238)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py	2017-01-04 12:35:46 UTC (rev 70239)
@@ -501,7 +501,7 @@
                         self.OnNvizProperties,
                         id=self.popupID['nviz'])
 
-            if same and ltype in ('raster', 'vector', 'rgb', 'raster_3d'):
+            if ltype in ('raster', 'vector', 'rgb', 'raster_3d'):
                 self.popupMenu.AppendSeparator()
                 item = wx.MenuItem(
                     self.popupMenu,



More information about the grass-commit mailing list