Skip to content

Commit

Permalink
Fix Cesium requestRenderMode usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Sep 27, 2018
1 parent ccaaef5 commit bc042d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/olcs/AutoRenderLoop.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class AutoRenderLoop {
*/
enable() {
this.scene_.requestRenderMode = true;
this.scene_.maximumRenderTimeChange = 1000;
for (const repaintKey of this.repaintEventNames_) {
this.canvas_.addEventListener(repaintKey, this._boundNotifyRepaintRequired, false);
}
Expand Down

0 comments on commit bc042d8

Please sign in to comment.