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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 25 09:29:20 PST 2012


Author: martinl
Date: 2012-12-25 09:29:19 -0800 (Tue, 25 Dec 2012)
New Revision: 54402

Modified:
   grass/trunk/gui/wxpython/iclass/digit.py
Log:
wxGUI/iclass: close boundaries (snap to first node)


Modified: grass/trunk/gui/wxpython/iclass/digit.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/digit.py	2012-12-25 16:35:12 UTC (rev 54401)
+++ grass/trunk/gui/wxpython/iclass/digit.py	2012-12-25 17:29:19 UTC (rev 54402)
@@ -7,7 +7,7 @@
  - digit::IClassVDigit
  - digit::IClassVDigitWindow
 
-(C) 2006-2011 by the GRASS Development Team
+(C) 2006-2012 by the GRASS Development Team
 This program is free software under the GNU General Public
 License (>=v2). Read the file COPYING that comes with GRASS
 for details.
@@ -84,6 +84,7 @@
     """! Class similar to IVDigit but specialized for wxIClass."""
     def __init__(self, mapwindow):
         IVDigit.__init__(self, mapwindow)
+        self._settings['closeBoundary'] = True # snap to the first node
         
     def _getNewFeaturesLayer(self):
         return 1



More information about the grass-commit mailing list