Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jan 1, 2025
1 parent eeb3644 commit 235d3f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/base/TilesRendererBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export class TilesRendererBase {
// save the tile in a separate "used set" so we can mark it as unused
// before the next tile set traversal
this.usedSet.add( tile );
this.lruCache.add( tile );
this.lruCache.markUnused( tile );

}

Expand Down
2 changes: 1 addition & 1 deletion src/base/traverseFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function markUsed( tile, renderer ) {
}

tile.__used = true;
tile.markTileUsed( tile );
renderer.markTileUsed( tile );
renderer.stats.used ++;

if ( tile.__inFrustum === true ) {
Expand Down

0 comments on commit 235d3f2

Please sign in to comment.