Explorar o código

wxGUI/iclass: close boundaries (snap to first node)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54402 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=12) %!d(string=hai) anos
pai
achega
2868f191d5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      gui/wxpython/iclass/digit.py

+ 2 - 1
gui/wxpython/iclass/digit.py

@@ -7,7 +7,7 @@ Classes:
  - 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 IClassVDigit(IVDigit):
     """! 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