git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46902 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -172,6 +172,9 @@ int Vedit_connect_lines(struct Map_info *Map, struct ilist *List,
if (!Vect_line_alive(Map, line))
continue;
+ if (Vect_get_line_type(Map, line) & GV_POINTS)
+ continue;
+
node[0] = node[1] = -1;
Vect_get_line_nodes(Map, line, &(node[0]), &(node[1]));
if (node[0] < 0 || node[1] < 0)
@@ -248,6 +248,9 @@ void draw_line_nodes(struct Map_info *Map, int line, int draw_flag,
double east, north;
struct robject *robj;
+ return;
Vect_get_line_nodes(Map, line, &(nodes[0]), &(nodes[1]));
for (i = 0; i < sizeof(nodes) / sizeof(int); i++) {