[GRASS-SVN] r37783 -
grass/branches/releasebranch_6_4/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 9 04:25:44 EDT 2009
Author: mmetz
Date: 2009-06-09 04:25:44 -0400 (Tue, 09 Jun 2009)
New Revision: 37783
Modified:
grass/branches/releasebranch_6_4/lib/vector/Vlib/map.c
Log:
Vect_copy_map_lines: don't read dead lines. Merge from trunk r37781
Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/map.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/map.c 2009-06-09 07:24:42 UTC (rev 37782)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/map.c 2009-06-09 08:25:44 UTC (rev 37783)
@@ -60,6 +60,9 @@
if (Vect_level(In) >= 2) {
nlines = Vect_get_num_lines(In);
for (i = 1; i <= nlines; i++) {
+ if (!Vect_line_alive(In, i))
+ continue;
+
type = Vect_read_line(In, Points, Cats, i);
if (type == -1) {
G_warning(_("Unable to read vector map <%s>"),
More information about the grass-commit
mailing list