Skip to content

Commit

Permalink
Fixed additive refinement traversal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Aug 24, 2017
1 parent 0ddf803 commit 505bce2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Change Log
* Fixed loading of binary glTFs containing CRN or KTX textures. [#5753](https://github.com/AnalyticalGraphicsInc/cesium/pull/5753)
* Fixed specular computation for certain models using the `KHR_materials_common` extension. [#5773](https://github.com/AnalyticalGraphicsInc/cesium/pull/5773)
* Fixed a bug where developer error was thrown in Sandcastle example [#5703](https://github.com/AnalyticalGraphicsInc/cesium/issues/5703)
* Fixed a 3D Tiles traversal bug for tilesets using additive refinement. [#5766](https://github.com/AnalyticalGraphicsInc/cesium/issues/5766)

### 1.36 - 2017-08-01

Expand Down
6 changes: 5 additions & 1 deletion Source/Scene/Cesium3DTilesetTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,11 @@ define([
var children = tile.children;
var childrenLength = children.length;
for (var i = 0; i < childrenLength; ++i) {
touch(tileset, children[i], this.outOfCore);
var child = children[i];
if (child.refine === Cesium3DTileRefine.ADD) {
loadTile(tileset, child, this.frameState);
}
touch(tileset, child, this.outOfCore);
}
return children;
}
Expand Down

0 comments on commit 505bce2

Please sign in to comment.