[GRASS-SVN] r44260 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 8 16:27:12 EST 2010


Author: martinl
Date: 2010-11-08 13:27:12 -0800 (Mon, 08 Nov 2010)
New Revision: 44260

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mcalc_builder.py
Log:
wxGUI: raster calculator generates rasters...


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mcalc_builder.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mcalc_builder.py	2010-11-08 21:10:44 UTC (rev 44259)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mcalc_builder.py	2010-11-08 21:27:12 UTC (rev 44260)
@@ -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