[GRASS-SVN] r63364 - grass/trunk/lib/vector/diglib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 3 13:50:46 PST 2014
Author: mmetz
Date: 2014-12-03 13:50:46 -0800 (Wed, 03 Dec 2014)
New Revision: 63364
Modified:
grass/trunk/lib/vector/diglib/update.c
Log:
diglib: adjust dig_line_add_updated() to digitizer
Modified: grass/trunk/lib/vector/diglib/update.c
===================================================================
--- grass/trunk/lib/vector/diglib/update.c 2014-12-03 19:39:26 UTC (rev 63363)
+++ grass/trunk/lib/vector/diglib/update.c 2014-12-03 21:50:46 UTC (rev 63364)
@@ -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