[GRASS-SVN] r44261 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 8 16:28:46 EST 2010
Author: martinl
Date: 2010-11-08 13:28:46 -0800 (Mon, 08 Nov 2010)
New Revision: 44261
Modified:
grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py
Log:
wxGUI: raster calculator generates rasters...
(merge r44260 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py 2010-11-08 21:27:12 UTC (rev 44260)
+++ grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py 2010-11-08 21:28:46 UTC (rev 44261)
@@ -465,7 +465,7 @@
if not self.addbox.IsChecked():
return
name = self.newmaptxt.GetValue().strip() + '@' + grass.gisenv()['MAPSET']
- self.parent.GetLayerTree().AddLayer(ltype = 'vector',
+ self.parent.GetLayerTree().AddLayer(ltype = 'raster',
lname = name,
lcmd = ['d.rast', 'map=%s' % name],
multiple = False)
More information about the grass-commit
mailing list