Skip to content

Commit

Permalink
Record tile states even if LogSelectionStats is off.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Dec 10, 2024
1 parent 2481fe9 commit fd969f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/CesiumRuntime/Private/Cesium3DTileset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2033,10 +2033,6 @@ void ACesium3DTileset::updateLastViewUpdateResultState(
}
}

if (!this->LogSelectionStats && !this->LogSharedAssetStats) {
return;
}

#ifdef CESIUM_DEBUG_TILE_STATES
if (this->_pStateDebug && GetWorld()->IsPlayInEditor()) {
this->_pStateDebug->recordAllTileStates(
Expand All @@ -2045,6 +2041,10 @@ void ACesium3DTileset::updateLastViewUpdateResultState(
}
#endif

if (!this->LogSelectionStats && !this->LogSharedAssetStats) {
return;
}

if (result.tilesToRenderThisFrame.size() != this->_lastTilesRendered ||
result.workerThreadTileLoadQueueLength !=
this->_lastWorkerThreadTileLoadQueueLength ||
Expand Down

0 comments on commit fd969f7

Please sign in to comment.