[GRASS-SVN] r63398 - grass/branches/releasebranch_7_0/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 6 06:51:31 PST 2014


Author: mmetz
Date: 2014-12-06 06:51:31 -0800 (Sat, 06 Dec 2014)
New Revision: 63398

Modified:
   grass/branches/releasebranch_7_0/lib/vector/diglib/update.c
Log:
diglib: adjust list of updated lines to vdigit

Modified: grass/branches/releasebranch_7_0/lib/vector/diglib/update.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/diglib/update.c	2014-12-06 14:50:41 UTC (rev 63397)
+++ grass/branches/releasebranch_7_0/lib/vector/diglib/update.c	2014-12-06 14:51:31 UTC (rev 63398)
@@ -40,6 +40,9 @@
     
     G_debug(3, "dig_line_add_updated(): line = %d", line);
 
+    /* undo/redo in the digitizer needs all steps, 
+     * disable check */
+#if 0
     /* Check if already in list */
     for (i = 0; i < Plus->uplist.n_uplines; i++) {
 	if (Plus->uplist.uplines[i] == line) {
@@ -47,6 +50,7 @@
 	    return;
         }
     }
+#endif
     
     /* Alloc space if needed */
     if (Plus->uplist.n_uplines == Plus->uplist.alloc_uplines) {



More information about the grass-commit mailing list