[GRASS-SVN] r54486 - grass/trunk/gui/wxpython/iclass

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 1 12:59:22 PST 2013


Author: martinl
Date: 2013-01-01 12:59:21 -0800 (Tue, 01 Jan 2013)
New Revision: 54486

Modified:
   grass/trunk/gui/wxpython/iclass/digit.py
Log:
wxGUI/iclass: don't draw centroids


Modified: grass/trunk/gui/wxpython/iclass/digit.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/digit.py	2013-01-01 20:48:22 UTC (rev 54485)
+++ grass/trunk/gui/wxpython/iclass/digit.py	2013-01-01 20:59:21 UTC (rev 54486)
@@ -123,6 +123,8 @@
         """
         if robj.type == TYPE_AREA:
             self._cat = Vect_get_area_cat(self.poMapInfo, robj.fid, 1)
+        elif robj.type == TYPE_CENTROIDIN:
+            return # skip centroids
         DisplayDriver._drawObject(self, robj)
         
     def _definePen(self, rtype):



More information about the grass-commit mailing list