[GRASS-SVN] r52960 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 29 00:47:27 PDT 2012


Author: annakrat
Date: 2012-08-29 00:47:26 -0700 (Wed, 29 Aug 2012)
New Revision: 52960

Modified:
   grass/trunk/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: add newly created 3d raster to layer tree as 3d-raster, not vector

Modified: grass/trunk/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/goutput.py	2012-08-29 07:44:14 UTC (rev 52959)
+++ grass/trunk/gui/wxpython/gui_core/goutput.py	2012-08-29 07:47:26 UTC (rev 52960)
@@ -977,6 +977,9 @@
                             if prompt == 'raster':
                                 lcmd = ['d.rast',
                                         'map=%s' % name]
+                            elif prompt == '3d-raster':
+                                lcmd = ['d.rast3d',
+                                        'map=%s' % name]
                             else:
                                 defaultParams = GetDisplayVectSettings()
                                 lcmd = ['d.vect',



More information about the grass-commit mailing list