Skip to content

Commit

Permalink
Remove pointless check I left in
Browse files Browse the repository at this point in the history
  • Loading branch information
azrogers committed Feb 20, 2025
1 parent 489a541 commit 598f49f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Cesium3DTilesSelection/src/Tileset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1713,13 +1713,6 @@ void Tileset::_unloadCachedTiles(double timeBudget) noexcept {
}
}

pTile = this->_loadedTiles.previous(pRootTile);
while (pTile != nullptr) {
CESIUM_ASSERT(this->_loadedTiles.previous(pTile) != pTile);
CESIUM_ASSERT(this->_loadedTiles.next(pTile) != pTile);
pTile = this->_loadedTiles.previous(pTile);
}

if (!tilesNeedingChildrenCleared.empty()) {
// Because we iterated over the tiles list backwards, the
// `tilesNeedingChildrenCleared` vector is in order from bottom to top of
Expand Down

0 comments on commit 598f49f

Please sign in to comment.