Skip to content

Commit

Permalink
Fix "done loading" criteria.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Sep 16, 2024
1 parent 5753669 commit 3a37ba1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Cesium3DTilesSelection/src/TilesetHeightQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,7 @@ bool TilesetHeightRequest::tryCompleteHeightRequest(
// before we can load it again.
contentManager.unloadTileContent(*pTile);
tileStillNeedsLoading = true;
} else if (
state == TileLoadState::Unloaded ||
state == TileLoadState::FailedTemporarily) {
} else if (state <= TileLoadState::ContentLoading) {
tilesNeedingLoading.insert(pTile);
tileStillNeedsLoading = true;
}
Expand Down

0 comments on commit 3a37ba1

Please sign in to comment.