Skip to content

Commit

Permalink
v.patch: Fix line categories when building topology (#374)
Browse files Browse the repository at this point in the history
* v.patch: Fix topology build

* Fix area topology
  • Loading branch information
HuidaeCho committed Mar 3, 2020
1 parent 1366953 commit 6cb4bfa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vector/v.patch/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,6 @@ int main(int argc, char *argv[])
Vect_set_person(&OutMap, G_whoami());

if (!no_topo->answer) {
if (append->answer)
Vect_build_partial(&OutMap, GV_BUILD_NONE);

Vect_build_partial(&OutMap, GV_BUILD_BASE);

if (Vect_get_num_primitives(&OutMap, GV_BOUNDARY) > 0) {
Expand Down Expand Up @@ -582,8 +579,9 @@ int main(int argc, char *argv[])

/* Boundaries are hopefully clean, build areas */
G_message("%s", separator);
Vect_build_partial(&OutMap, GV_BUILD_NONE);
}

Vect_build_partial(&OutMap, GV_BUILD_NONE);
Vect_build(&OutMap);
}
Vect_close(&OutMap);
Expand Down

0 comments on commit 6cb4bfa

Please sign in to comment.