From 1ff39b59eda9c587c4a0b45c632010d35bee2b55 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Tue, 6 May 2025 11:04:59 -0700 Subject: [PATCH] Revert "There aren't too many features if we intentionally truncated them" This reverts commit 9fb7b6882d2a50ca7087243643dccf1b57690278. --- tile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tile.cpp b/tile.cpp index 6de14682..5b80dcaa 100644 --- a/tile.cpp +++ b/tile.cpp @@ -2524,7 +2524,6 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch layer_features.resize(limit_tile_feature_count_at_maxzoom); too_many_features = false; // don't try to drop; we have already truncated skipped = 0; // doesn't matter that we skipped features; we have truncated - too_many_features = too_many_bytes = false; } } else if (limit_tile_feature_count != 0) { if (layer_features.size() > limit_tile_feature_count) { @@ -2532,7 +2531,6 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch layer_features.resize(limit_tile_feature_count); too_many_features = false; // don't try to drop; we have already truncated skipped = 0; // doesn't matter that we skipped features; we have truncated - too_many_features = too_many_bytes = false; } } }