浏览代码

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 12 年之前
父节点
当前提交
2868f191d5
共有 1 个文件被更改,包括 2 次插入1 次删除
  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