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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 20 06:52:30 EDT 2009


Author: martinl
Date: 2009-10-20 06:52:29 -0400 (Tue, 20 Oct 2009)
New Revision: 39597

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: complete names also for rgb a his layers


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2009-10-20 10:45:31 UTC (rev 39596)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2009-10-20 10:52:29 UTC (rev 39597)
@@ -117,9 +117,9 @@
         mapname = params[0][2]
         mapset = ''
         if fullyQualified and '@' not in mapname:
-            if layerType in ('raster', 'vector', '3d-raster'):
+            if layerType in ('raster', 'vector', '3d-raster', 'rgb', 'his'):
                 try:
-                    if layerType == 'raster':
+                    if layerType in ('raster', 'rgb', 'his'):
                         findType = 'cell'
                     else:
                         findType = layerType



More information about the grass-commit mailing list