By George, I think she's got it!

This commit is contained in:
Erica Fischer
2023-12-06 16:56:52 -08:00
parent 80c84eb88a
commit 9ae1e575ca
4 changed files with 51 additions and 28 deletions
+6 -1
View File
@@ -614,11 +614,16 @@ void *partial_feature_worker(void *v) {
drawvec geom = (*partials)[i].geoms[0];
if (t == VT_POLYGON) {
geom = remove_noop(geom, VT_POLYGON, 0);
drawvec cleaned = clean_or_clip_poly(geom, 0, 0, false, false);
drawvec fixed = fix_by_triangulation(geom, z, out_detail);
drawvec fixed = fix_by_triangulation(cleaned, z, out_detail);
geom = clean_or_clip_poly(fixed, 0, 0, false, false);
#if 0
if (fixed != cleaned) {
geom = fixed;
}
(*partials)[i].t = t = VT_LINE;
#endif
}
to_tile_scale(geom, z, out_detail);