Skip to content

Commit

Permalink
Changes based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcozzi committed Apr 11, 2016
1 parent 9d942a4 commit de9b45a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/Scene/Cesium3DTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ define([
/**
* The corresponding node in the cache replacement list.
*
* @type {DoublyLinkedList}
* @type {DoublyLinkedListNode}
* @readonly
*
* @private
Expand Down
5 changes: 2 additions & 3 deletions Specs/Scene/Cesium3DTilesetSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1292,15 +1292,14 @@ defineSuite([
expect(stats.numberReady).toEqual(5); // Root + four grandchildren (does not include empty children)

// Zoom out so only root tile is needed to meet SSE. This unloads
// two of the four children so three tiles are still loaded (the
// root and two children) since the max number of loaded tiles is three.
// all grandchildren since the max number of loaded tiles is one.
viewRootOnly();
scene.renderForSpecs();

expect(stats.numberOfCommands).toEqual(1);
expect(stats.numberReady).toEqual(1);

// Zoom back in so the two children are re-requested.
// Zoom back in so the four children are re-requested.
viewAllTiles();

return Cesium3DTilesTester.waitForPendingRequests(scene, tileset).then(function() {
Expand Down

0 comments on commit de9b45a

Please sign in to comment.