Pull clipping and scaling code back out into clip.cpp

This commit is contained in:
Erica Fischer
2023-09-07 16:48:12 -07:00
parent 84c278ff96
commit 92434d4a0a
5 changed files with 750 additions and 759 deletions
+1 -1
View File
@@ -1435,7 +1435,7 @@ bool clip_to_tile(serial_feature &sf, int z, long long buffer) {
clipped = clip_lines(sf.geometry, z, buffer);
}
if (sf.t == VT_POLYGON) {
clipped = simple_clip_poly(sf.geometry, z, buffer, sf.edge_nodes);
clipped = simple_clip_poly(sf.geometry, z, buffer, sf.edge_nodes, prevent[P_SIMPLIFY_SHARED_NODES]);
}
if (sf.t == VT_POINT) {
clipped = clip_point(sf.geometry, z, buffer);