Skip to content

Commit

Permalink
Select ancestor of empty tile that can't refine
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Sep 6, 2018
1 parent c36e4d3 commit fd30df5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Scene/Cesium3DTilesetTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,12 @@ define([
if (hasEmptyContent(tile)) {
// Add empty tile just to show its debug bounding volume
// If the tile has tileset content load the external tileset
// If the tile cannot refine further select its nearest loaded ancestor
addEmptyTile(tileset, tile, frameState);
loadTile(tileset, tile, frameState);
if (!refines) {
selectDesiredTile(tileset, tile, frameState);
}
} else if (add) {
// Additive tiles are always loaded and selected
selectDesiredTile(tileset, tile, frameState);
Expand Down

0 comments on commit fd30df5

Please sign in to comment.