Skip to content

Commit

Permalink
Merge pull request #433 from schmidtk/432-auto-render-error
Browse files Browse the repository at this point in the history
Update Cesium private variables in render loop
  • Loading branch information
gberaudo authored Jan 23, 2017
2 parents 226160a + 5e17e51 commit fc863aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/autorenderloop.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,10 @@ olcs.AutoRenderLoop.prototype.postRender = function(date) {
var cameraMovedInLastSecond = now - this.lastCameraMoveTime_ < 1000;

var surface = scene.globe['_surface'];
var tilesWaiting = !surface['_tileProvider'].ready ||
surface['_tileLoadQueue'].length > 0 ||
var tilesWaiting = !surface['tileProvider'].ready ||
surface['_tileLoadQueueHigh'].length > 0 ||
surface['_tileLoadQueueMedium'].length > 0 ||
surface['_tileLoadQueueLow'].length > 0 ||
surface['_debug']['tilesWaitingForChildren'] > 0;

var tweens = scene['tweens'];
Expand Down

0 comments on commit fc863aa

Please sign in to comment.