[GRASS-SVN] r48829 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 16 06:43:53 EDT 2011
Author: martinl
Date: 2011-10-16 03:43:53 -0700 (Sun, 16 Oct 2011)
New Revision: 48829
Modified:
grass/trunk/gui/wxpython/gui_modules/render.py
Log:
wxGUI: fix r48828
Modified: grass/trunk/gui/wxpython/gui_modules/render.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/render.py 2011-10-16 10:28:06 UTC (rev 48828)
+++ grass/trunk/gui/wxpython/gui_modules/render.py 2011-10-16 10:43:53 UTC (rev 48829)
@@ -842,7 +842,7 @@
if overlaysOnly:
layers = self.overlays
else:
- self. self.layers + self.overlays
+ layers = self.layers + self.overlays
for layer in layers:
# skip non-active map layers
if not layer or not layer.active:
@@ -884,6 +884,8 @@
ltype = None
if cmd[0] == 'd.rast':
ltype = 'raster'
+ elif cmd[0] == 'd.vect':
+ ltype = 'vector'
name = utils.GetLayerNameFromCmd(cmd, fullyQualified = True,
layerType = ltype)[0]
More information about the grass-commit
mailing list