[GRASS-SVN] r70240 - grass/branches/releasebranch_7_2/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 4 04:38:21 PST 2017


Author: martinl
Date: 2017-01-04 04:38:21 -0800 (Wed, 04 Jan 2017)
New Revision: 70240

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

Modified: grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py	2017-01-04 12:35:46 UTC (rev 70239)
+++ grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py	2017-01-04 12:38:21 UTC (rev 70240)
@@ -500,7 +500,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