Skip to content

Commit

Permalink
additional formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
corybarr committed Aug 30, 2024
1 parent 3b8c6e1 commit 9bd4a19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/core/include/cesium/omniverse/CesiumIonSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ class CesiumIonSession {
std::string _ionServerUrl;
std::string _ionApiUrl;
int64_t _ionApplicationId;
// OmniIonServer _server;
};

} // namespace cesium::omniverse
6 changes: 2 additions & 4 deletions src/core/include/cesium/omniverse/MetadataUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,8 @@ void forEachPropertyTableProperty(
const CesiumGltf::FeatureId& featureId = pMeshFeatures->featureIds[featureIdSetIndex];

if (featureId.propertyTable != -1) {
const auto pPropertyTable = model.getSafe(
&pStructuralMetadataModel->propertyTables,
static_cast<int32_t>(featureId.propertyTable)
);
const auto pPropertyTable =
model.getSafe(&pStructuralMetadataModel->propertyTables, static_cast<int32_t>(featureId.propertyTable));
if (!pPropertyTable) {
context.getLogger()->warn(
fmt::format("Property table index {} is out of range.", featureId.propertyTable));
Expand Down
4 changes: 2 additions & 2 deletions src/core/src/CesiumIonServerManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ void CesiumIonServerManager::updateTokenTroubleshootingDetails(

details.showDetails = true;

const auto pConnection =
std::make_shared<CesiumIonClient::Connection>(pSession->getAsyncSystem(), pSession->getAssetAccessor(), token, pSession->getApplicationData().value());
const auto pConnection = std::make_shared<CesiumIonClient::Connection>(
pSession->getAsyncSystem(), pSession->getAssetAccessor(), token, pSession->getApplicationData().value());

pConnection->me()
.thenInMainThread(
Expand Down

0 comments on commit 9bd4a19

Please sign in to comment.