Explorar o código

wxGUI: fix finding fully qualified name for 3d rasters

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64296 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=10) %!d(string=hai) anos
pai
achega
2e87955624
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      gui/wxpython/core/utils.py

+ 2 - 0
gui/wxpython/core/utils.py

@@ -160,6 +160,8 @@ def GetLayerNameFromCmd(dcmd, fullyQualified = False, param = None,
                     try:
                     try:
                         if layerType in ('raster', 'rgb', 'his'):
                         if layerType in ('raster', 'rgb', 'his'):
                             findType = 'cell'
                             findType = 'cell'
+                        elif layerType == '3d-raster':
+                            findType = 'grid3'
                         else:
                         else:
                             findType = layerType
                             findType = layerType
                         mapset = grass.find_file(mapname, element = findType)['mapset']
                         mapset = grass.find_file(mapname, element = findType)['mapset']