mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-20 00:31:00 +00:00
Trim the join point between fragments
This commit is contained in:
parent
c5b5289ba2
commit
d8f7ee846f
8
vt3.cpp
8
vt3.cpp
@ -543,7 +543,13 @@ void merge_partials(std::vector<partial> &partials, size_t start, size_t end, mv
|
||||
arcs.erase(also);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < add.size(); i++) {
|
||||
// get rid of artificial joining node if that's what it is
|
||||
if (out[out.size() - 1].phantom) {
|
||||
out.pop_back();
|
||||
}
|
||||
|
||||
// skip first because it is the moveto
|
||||
for (size_t i = 1; i < add.size(); i++) {
|
||||
out.push_back(add[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user