From fd30df553738a39e5ab3e2b4e81f71ee746f2c0b Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Thu, 6 Sep 2018 10:35:23 -0400 Subject: [PATCH] Select ancestor of empty tile that can't refine --- Source/Scene/Cesium3DTilesetTraversal.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Scene/Cesium3DTilesetTraversal.js b/Source/Scene/Cesium3DTilesetTraversal.js index ef5eaff01521..495ea1ef23ca 100644 --- a/Source/Scene/Cesium3DTilesetTraversal.js +++ b/Source/Scene/Cesium3DTilesetTraversal.js @@ -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);