We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae14859 commit b00c610Copy full SHA for b00c610
3d-style/data/bucket/model_bucket.ts
@@ -480,7 +480,7 @@ class ModelBucket implements Bucket {
480
continue; // Clip on tile borders to prevent duplicates
481
}
482
// reduce density
483
- if (this.lookupDim !== 0 || modelAllowDensityReductionProperty) {
+ if (this.lookupDim !== 0 && modelAllowDensityReductionProperty) {
484
const tileToLookup = (this.lookupDim - 1.0) / EXTENT;
485
const lookupIndex = this.lookupDim * ((point.y * tileToLookup) | 0) + (point.x * tileToLookup) | 0;
486
if (this.lookup) {
0 commit comments