Procházet zdrojové kódy

Backported bug fix for missing layer types from develbranch_6

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32822 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton před 17 roky
rodič
revize
4eb2e52e2a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      gui/wxpython/gui_modules/render.py

+ 2 - 1
gui/wxpython/gui_modules/render.py

@@ -219,7 +219,8 @@ class Layer(object):
         if type not in ('raster', '3d-raster', 'vector',
                         'overlay', 'command',
                         'shaded', 'rgb', 'his', 'rastarrow',
-                        'thememap', 'themechart'):
+                        'thememap', 'themechart', 'grid', 'labels',
+                        'geodesic','rhumb'):
             raise gcmd.GStdError(_("Unsupported map layer type '%s'") % str(type))
         
         self.type = type