瀏覽代碼

remove references to region3d and view3d

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63642 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
8456a6d843
共有 3 個文件被更改,包括 2 次插入10 次删除
  1. 0 4
      gui/wxpython/gui_core/gselect.py
  2. 1 1
      lib/manage/option.c
  3. 1 5
      lib/python/pygrass/gis/__init__.py

+ 0 - 4
gui/wxpython/gui_core/gselect.py

@@ -459,10 +459,6 @@ class TreeCtrlComboPopup(ListCtrlComboPopup):
                        'region':'region',
                        'region definition':'region',
                        'region definition files':'region',
-                       'windows3d':'region3d',
-                       'region3d':'region3d',
-                       'region3D definition':'region3d',
-                       'region3D definition files':'region3d',
                        'group':'group',
                        'imagery group':'group',
                        'imagery group files':'group',

+ 1 - 1
lib/manage/option.c

@@ -53,7 +53,7 @@ struct Option* M_define_option(int n, const char *desc, int multiple)
              strcmp(p->key, "old_vector") == 0 ||
 	     strcmp(p->key, "ascii_vector") == 0)
 	p->guisection = _("Vector");
-    else if (strcmp(p->key, "region") == 0 || strcmp(p->key, "region3d") == 0)
+    else if (strcmp(p->key, "region") == 0)
 	p->guisection = _("Region");
     else if (strcmp(p->key, "group") == 0)
 	p->guisection = _("Group");

+ 1 - 5
lib/python/pygrass/gis/__init__.py

@@ -24,9 +24,7 @@ ETYPE = {'raster': libgis.G_ELEMENT_RASTER,
          'labels': libgis.G_ELEMENT_LABEL,
          'sites': libgis.G_ELEMENT_SITE,
          'region': libgis.G_ELEMENT_REGION,
-         'region3d': libgis.G_ELEMENT_REGION3D,
-         'group': libgis.G_ELEMENT_GROUP,
-         'view3d': libgis.G_ELEMENT_3DVIEW}
+         'group': libgis.G_ELEMENT_GROUP}
 
 
 CHECK_IS = {"GISBASE": libgis.G_is_gisbase,
@@ -317,10 +315,8 @@ class Mapset(object):
             * 'raster',
             * 'raster_3d',
             * 'region',
-            * 'region3d',
             * 'sites',
             * 'vector',
-            * 'view3d'
 
         :param type: the type of element to query
         :type type: str