Make sure not to shift away the extra detail from coordinates

This commit is contained in:
Erica Fischer
2022-08-19 14:00:41 -07:00
parent 2559fb4fd7
commit 64b23e6b8e
+4
View File
@@ -3266,6 +3266,9 @@ int main(int argc, char **argv) {
} }
} }
if (additional[A_EXTRA_DETAIL]) {
geometry_scale = 0;
} else {
geometry_scale = 32 - (full_detail + maxzoom); geometry_scale = 32 - (full_detail + maxzoom);
if (geometry_scale < 0) { if (geometry_scale < 0) {
geometry_scale = 0; geometry_scale = 0;
@@ -3274,6 +3277,7 @@ int main(int argc, char **argv) {
fprintf(stderr, "Full detail + maxzoom > 32, so you are asking for more detail than is available.\n"); fprintf(stderr, "Full detail + maxzoom > 32, so you are asking for more detail than is available.\n");
} }
} }
}
if ((basezoom < 0 || droprate < 0) && (gamma < 0)) { if ((basezoom < 0 || droprate < 0) && (gamma < 0)) {
// Can't use randomized (as opposed to evenly distributed) dot dropping // Can't use randomized (as opposed to evenly distributed) dot dropping