Skip to content

Commit

Permalink
Merge pull request #5211 from austinEng/children-culling-fix
Browse files Browse the repository at this point in the history
update children transforms before checking their union for culling
  • Loading branch information
lilleyse authored Apr 18, 2017
2 parents dff65a6 + 44e6d9e commit 8153ff3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Scene/Cesium3DTileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,7 @@ define([
loadAndAddToQueue(tileset, tile, finalQueue);
} else if (tile._sse <= maximumScreenSpaceError) {
if (tile._optimChildrenWithinParent === Cesium3DTileOptimizationHint.USE_OPTIMIZATION) {
updateTransforms(tile.children, tile.computedTransform);
if (computeChildrenVisibility(tile, frameState, false) & Cesium3DTileChildrenVisibility.VISIBLE) {
loadAndAddToQueue(tileset, tile, finalQueue);
} else {
Expand Down

0 comments on commit 8153ff3

Please sign in to comment.