[GRASS-SVN] r54166 - grass/trunk/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 3 10:50:01 PST 2012


Author: mmetz
Date: 2012-12-03 10:50:01 -0800 (Mon, 03 Dec 2012)
New Revision: 54166

Modified:
   grass/trunk/lib/vector/diglib/plus_area.c
Log:
diglib: revert r54090: lines are added to nodes with dig_node_add_line() and are removed with dig_del_line(). If a dead line is registered with a node, this is a bug further up in topo building

Modified: grass/trunk/lib/vector/diglib/plus_area.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_area.c	2012-12-03 18:20:33 UTC (rev 54165)
+++ grass/trunk/lib/vector/diglib/plus_area.c	2012-12-03 18:50:01 UTC (rev 54166)
@@ -570,11 +570,6 @@
 
 	line = abs(Node->lines[next]);
 	Line = plus->Line[line];
-        if (!Line) {
-            G_warning(_("Unable to find next line for %d. Dead line found."),
-                      current_line);
-            return 0;
-        }
         
 	if (Line->type & type) {	/* line found */
 	    G_debug(3, "  this one");



More information about the grass-commit mailing list