Skip to content

Commit

Permalink
further view_complete refinement (this time, to prevent premature e…
Browse files Browse the repository at this point in the history
…vents)
  • Loading branch information
bcamper committed Apr 10, 2019
1 parent 62fcb1e commit 8bc21d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scene/scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ export default class Scene {
updateViewComplete () {
if ((this.render_count_changed || this.generation !== this.last_complete_generation) &&
!this.building &&
!this.tile_manager.isLoadingVisibleTiles() &&
this.tile_manager.allVisibleTilesLabeled()) {
this.tile_manager.updateLabels();
this.last_complete_generation = this.generation;
Expand Down

0 comments on commit 8bc21d5

Please sign in to comment.