Skip to content

Commit

Permalink
Set tile state to failed on unknown error
Browse files Browse the repository at this point in the history
  • Loading branch information
csciguy8 committed Dec 20, 2023
1 parent 87e1ed0 commit 136e0dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cesium3DTilesSelection/src/Tileset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1786,6 +1786,9 @@ void Tileset::dispatchProcessingWork(std::vector<TileLoadWork>& workVector) {
[_pTile = pTile,
_this = this,
pLogger = this->_externals.pLogger](std::exception&& e) {

_pTile->setState(TileLoadState::Failed);

_this->_pTilesetContentManager->notifyTileDoneLoading(_pTile);
SPDLOG_LOGGER_ERROR(
pLogger,
Expand Down

0 comments on commit 136e0dc

Please sign in to comment.