Browse Source

wxNviz: remove unused symbols from gui

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53262 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 12 years ago
parent
commit
220e9587a1
2 changed files with 4 additions and 2 deletions
  1. 0 2
      gui/wxpython/core/settings.py
  2. 4 0
      gui/wxpython/nviz/wxnviz.py

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

@@ -871,8 +871,6 @@ class Settings:
                                                                        _("sphere"),
                                                                        _("cube"),
                                                                        _("diamond"),
-                                                                       _("dtree"),
-                                                                       _("ctree"),
                                                                        _("aster"),
                                                                        _("gyro"),
                                                                        _("histogram"))

+ 4 - 0
gui/wxpython/nviz/wxnviz.py

@@ -944,6 +944,10 @@ class Nviz(object):
         if not GP_site_exists(id):
             return -1
         
+        # dtree and ctree defined but not used
+        if marker > 5:
+            marker += 2
+        
         Debug.msg(3, "Nviz::SetVectorPointMode(): id=%d, color=%s, "
                   "width=%d, size=%f, marker=%d",
                   id, color_str, width, size, marker)