Skip to content

Commit

Permalink
Update UnloadTilesPlugin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Jan 16, 2025
1 parent 517b1d4 commit e414740
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 e414740

Please sign in to comment.