From 5e17e517c73a9ee7bbd2cba2f85163a5566b6198 Mon Sep 17 00:00:00 2001 From: Kevin Schmidt Date: Fri, 20 Jan 2017 07:58:07 -0700 Subject: [PATCH] Update Cesium private variables in render loop Closes: #432 --- src/autorenderloop.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/autorenderloop.js b/src/autorenderloop.js index ea55da691..4e43f2e96 100644 --- a/src/autorenderloop.js +++ b/src/autorenderloop.js @@ -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'];