Skip to content

Commit b00c610

Browse files
committed
Rebase
1 parent ae14859 commit b00c610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3d-style/data/bucket/model_bucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ class ModelBucket implements Bucket {
480480
continue; // Clip on tile borders to prevent duplicates
481481
}
482482
// reduce density
483-
if (this.lookupDim !== 0 || modelAllowDensityReductionProperty) {
483+
if (this.lookupDim !== 0 && modelAllowDensityReductionProperty) {
484484
const tileToLookup = (this.lookupDim - 1.0) / EXTENT;
485485
const lookupIndex = this.lookupDim * ((point.y * tileToLookup) | 0) + (point.x * tileToLookup) | 0;
486486
if (this.lookup) {

0 commit comments

Comments
 (0)