Procházet zdrojové kódy

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á před 10 roky
rodič
revize
2e87955624
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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']