[GRASS-SVN] r39598 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 20 06:56:02 EDT 2009


Author: martinl
Date: 2009-10-20 06:56:01 -0400 (Tue, 20 Oct 2009)
New Revision: 39598

Modified:
   grass/trunk/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: complete names also for rgb a his layers
	(merge from r39597 from devbr6)


Modified: grass/trunk/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/utils.py	2009-10-20 10:52:29 UTC (rev 39597)
+++ grass/trunk/gui/wxpython/gui_modules/utils.py	2009-10-20 10:56:01 UTC (rev 39598)
@@ -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