[GRASS-SVN] r69563 - grass/branches/releasebranch_7_2/lib/vector/vedit
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 23 12:55:16 PDT 2016
Author: mmetz
Date: 2016-09-23 12:55:16 -0700 (Fri, 23 Sep 2016)
New Revision: 69563
Modified:
grass/branches/releasebranch_7_2/lib/vector/vedit/merge.c
Log:
v.edit tool=merge: improve skip invalid lines (backport trunk r69562)
Modified: grass/branches/releasebranch_7_2/lib/vector/vedit/merge.c
===================================================================
--- grass/branches/releasebranch_7_2/lib/vector/vedit/merge.c 2016-09-23 19:54:28 UTC (rev 69562)
+++ grass/branches/releasebranch_7_2/lib/vector/vedit/merge.c 2016-09-23 19:55:16 UTC (rev 69563)
@@ -91,7 +91,7 @@
/* remove duplicate points */
Vect_line_prune(Points1);
- if (Points1->n_points == 1) {
+ if (Points1->n_points < 2) {
G_debug(3, "Vedit_merge_lines(): skipping zero length line");
continue;
}
More information about the grass-commit
mailing list