Browse Source

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54166 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 năm trước cách đây
mục cha
commit
a29c9f7842
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      lib/vector/diglib/plus_area.c

+ 0 - 5
lib/vector/diglib/plus_area.c

@@ -570,11 +570,6 @@ dig_angle_next_line(struct Plus_head *plus, plus_t current_line, int side,
 
 	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");