瀏覽代碼

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á 10 年之前
父節點
當前提交
2e87955624
共有 1 個文件被更改,包括 2 次插入0 次删除
  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:
                         if layerType in ('raster', 'rgb', 'his'):
                             findType = 'cell'
+                        elif layerType == '3d-raster':
+                            findType = 'grid3'
                         else:
                             findType = layerType
                         mapset = grass.find_file(mapname, element = findType)['mapset']