Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check visibility of root
Browse files Browse the repository at this point in the history
lilleyse committed Sep 30, 2018
1 parent d7b8104 commit 21aaae3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/Scene/Cesium3DTilesetTraversal.js
Original file line number Diff line number Diff line change
@@ -316,6 +316,13 @@ define([
return;
}

if (tile.hasTilesetContent) {
var child = tile.children[0];
updateTileVisibility(tileset, child, frameState);
tile._visible = child._visible;
return;
}

if (meetsScreenSpaceErrorEarly(tileset, tile, frameState)) {
tile._visible = false;
return;

0 comments on commit 21aaae3

Please sign in to comment.