[GRASS-SVN] r44262 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 8 16:30:31 EST 2010


Author: martinl
Date: 2010-11-08 13:30:31 -0800 (Mon, 08 Nov 2010)
New Revision: 44262

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mcalc_builder.py
Log:
wxGUI: raster calculator generates rasters...
(merge r44260 from devbr6)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mcalc_builder.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mcalc_builder.py	2010-11-08 21:28:46 UTC (rev 44261)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mcalc_builder.py	2010-11-08 21:30:31 UTC (rev 44262)
@@ -442,7 +442,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