Visual testing

This commit is contained in:
Erica Fischer
2023-11-09 13:38:26 -08:00
parent 22c308f623
commit 474270c151
2 changed files with 28 additions and 13 deletions
+4 -3
View File
@@ -615,11 +615,12 @@ void *partial_feature_worker(void *v) {
drawvec geom = (*partials)[i].geoms[0];
if (t == VT_POLYGON) {
clean_polygon(geom, z, out_detail);
geom = clean_polygon(geom, z, out_detail);
(*partials)[i].t = t = VT_LINE;
} else {
to_tile_scale(geom, z, out_detail);
}
to_tile_scale(geom, z, out_detail);
if (t == VT_POLYGON) {
// Scaling may have made the polygon degenerate.
// Give Clipper a chance to try to fix it.