Skip to content

Commit 1b165db

Browse files
committed
Fix active flag
1 parent 410255a commit 1b165db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/core/renderer/tiles/optimizedTraverseFunctions.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,7 @@ function markVisibleTiles( tile, renderer ) {
347347

348348
if ( ! canUnconditionallyRefine( tile ) ) {
349349

350-
if ( tile.__hasContent ) {
351-
352-
tile.__active = true;
353-
354-
}
350+
tile.__active = true;
355351

356352
// TODO: tiles should never end at an "unconditionally refine-able tiles" so we can guard this
357353
// behind checking if this tile should be "visible" and loaded and if if it's not then we can
@@ -443,6 +439,10 @@ function toggleTiles( tile, renderer ) {
443439

444440
}
445441

442+
} else {
443+
444+
tile.__active = false;
445+
446446
}
447447

448448
// if the tile is loaded and in frustum we can mark it as visible

0 commit comments

Comments
 (0)