[GRASS-SVN] r53262 - in grass/trunk/gui/wxpython: core nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 21 08:56:20 PDT 2012


Author: annakrat
Date: 2012-09-21 08:56:20 -0700 (Fri, 21 Sep 2012)
New Revision: 53262

Modified:
   grass/trunk/gui/wxpython/core/settings.py
   grass/trunk/gui/wxpython/nviz/wxnviz.py
Log:
wxNviz: remove unused symbols from gui

Modified: grass/trunk/gui/wxpython/core/settings.py
===================================================================
--- grass/trunk/gui/wxpython/core/settings.py	2012-09-21 15:46:21 UTC (rev 53261)
+++ grass/trunk/gui/wxpython/core/settings.py	2012-09-21 15:56:20 UTC (rev 53262)
@@ -871,8 +871,6 @@
                                                                        _("sphere"),
                                                                        _("cube"),
                                                                        _("diamond"),
-                                                                       _("dtree"),
-                                                                       _("ctree"),
                                                                        _("aster"),
                                                                        _("gyro"),
                                                                        _("histogram"))

Modified: grass/trunk/gui/wxpython/nviz/wxnviz.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/wxnviz.py	2012-09-21 15:46:21 UTC (rev 53261)
+++ grass/trunk/gui/wxpython/nviz/wxnviz.py	2012-09-21 15:56:20 UTC (rev 53262)
@@ -944,6 +944,10 @@
         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)



More information about the grass-commit mailing list