[GRASS-SVN] r53263 - in grass/branches/develbranch_6/gui/wxpython: core nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 21 09:01:09 PDT 2012


Author: annakrat
Date: 2012-09-21 09:01:08 -0700 (Fri, 21 Sep 2012)
New Revision: 53263

Modified:
   grass/branches/develbranch_6/gui/wxpython/core/settings.py
   grass/branches/develbranch_6/gui/wxpython/nviz/wxnviz.py
Log:
wxNviz: remove unused symbols from gui (merge from trunk, r53262)

Modified: grass/branches/develbranch_6/gui/wxpython/core/settings.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/core/settings.py	2012-09-21 15:56:20 UTC (rev 53262)
+++ grass/branches/develbranch_6/gui/wxpython/core/settings.py	2012-09-21 16:01:08 UTC (rev 53263)
@@ -767,8 +767,6 @@
                                                                        _("sphere"),
                                                                        _("cube"),
                                                                        _("diamond"),
-                                                                       _("dtree"),
-                                                                       _("ctree"),
                                                                        _("aster"),
                                                                        _("gyro"),
                                                                        _("histogram"))

Modified: grass/branches/develbranch_6/gui/wxpython/nviz/wxnviz.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/nviz/wxnviz.py	2012-09-21 15:56:20 UTC (rev 53262)
+++ grass/branches/develbranch_6/gui/wxpython/nviz/wxnviz.py	2012-09-21 16:01:08 UTC (rev 53263)
@@ -936,6 +936,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