Skip to content

Commit

Permalink
Update UnloadTilesPlugin.js (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Jan 16, 2025
1 parent 517b1d4 commit 6270bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/three/UnloadTilesPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class UnloadTilesPlugin {

tiles.forEachLoadedModel( ( scene, tile ) => {

const visible = tiles.visibleSet.has( tile );
const visible = tiles.visibleTiles.has( tile );
this._onVisibilityChangeCallback( { scene, visible } );

} );
Expand Down

0 comments on commit 6270bc9

Please sign in to comment.