diff --git a/src/plugins/three/UnloadTilesPlugin.js b/src/plugins/three/UnloadTilesPlugin.js index 7702f033..172d7c8c 100644 --- a/src/plugins/three/UnloadTilesPlugin.js +++ b/src/plugins/three/UnloadTilesPlugin.js @@ -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 } ); } );