Fix bugs in --no-simplification-of-shared-nodes (#99)

* Fix bugs in --no-simplification-of-shared-nodes

* Update changelog
This commit is contained in:
Erica Fischer
2023-05-08 15:31:46 -07:00
committed by GitHub
parent 605640e138
commit 523ca55243
9 changed files with 47 additions and 11 deletions
+2
View File
@@ -933,6 +933,8 @@ drawvec simplify_lines(drawvec &geom, int z, int detail, bool mark_tile_bounds,
geom[i].necessary = 1;
} else if (geom[i].op == VT_LINETO) {
geom[i].necessary = 0;
// if this is actually the endpoint, not an intermediate point,
// it will be marked as necessary below
} else {
geom[i].necessary = 1;
}