[GRASS-SVN] r56116 - grass/trunk/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 4 03:17:39 PDT 2013
Author: martinl
Date: 2013-05-04 03:17:39 -0700 (Sat, 04 May 2013)
New Revision: 56116
Modified:
grass/trunk/gui/wxpython/nviz/mapwindow.py
Log:
wxGUI/nviz: m.nviz.image do not require elev map to be defined
switchPage -> priority
Modified: grass/trunk/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/mapwindow.py 2013-05-04 10:06:13 UTC (rev 56115)
+++ grass/trunk/gui/wxpython/nviz/mapwindow.py 2013-05-04 10:17:39 UTC (rev 56116)
@@ -2247,8 +2247,8 @@
volumes.append(item)
elif self.tree.GetLayerInfo(item, key = 'type') == 'vector':
vectors.append(item)
- if not rasters and not self.constants:
- return _("At least one raster map required")
+ ### if not rasters and not self.constants:
+ ### return _("At least one raster map required")
# elevation_map/elevation_value
if self.constants:
subcmd = "elevation_value="
@@ -2513,7 +2513,7 @@
def OnNvizCmd(self):
"""!Generate and write command to command output"""
- self.log.WriteLog(self.NvizCmdCommand(), switchPage = True)
+ self.log.WriteLog(self.NvizCmdCommand(), priority = 3)
def SaveToFile(self, FileName, FileType, width, height):
"""!This draws the DC to a buffer that can be saved to a file.
More information about the grass-commit
mailing list