Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion builder/web/src/lib/trailview/terrain/terrain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,9 @@ export class Terrain {
this.pages = new Pages(source, { stored: Math.round(budget.terrainShare * (pages - SYNTH_PAGES)), synth: Math.round(budget.terrainShare * SYNTH_PAGES) }, this.bounds, changed, stamps, MASKS, budget);
}

/** No page loads, and the meshes are not waiting out the CALM frames that follow a rest (`Pieces.returning`). */
get idle(): boolean {
return this.pages.idle && this.calm > 0 && this.probing === 0;
return this.pages.idle && this.calm > 0 && this.probing === 0 && !this.pieces?.returning;
}

/** The feature tiles and road meshes that failed. */
Expand Down
Loading