Skip to content

Commit

Permalink
Merge pull request #683 from CesiumGS/resum-ion-session
Browse files Browse the repository at this point in the history
Resume ion session on reload
  • Loading branch information
lilleyse authored Feb 13, 2024
2 parents f3ed1be + 4f91770 commit bf7fad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Fixed crash when updating tilesets shader inputs.
* Fixed crash when setting certain `/Cesium` debug options at runtime.
* Fixed crash when disabling and re-enabling the extension.
* Fixed issue where Cesium ion session would not resume on reload.

### v0.17.0 - 2024-02-01

Expand Down
4 changes: 3 additions & 1 deletion src/core/src/OmniIonServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ OmniIonServer::OmniIonServer(Context* pContext, const pxr::SdfPath& path)
pContext->getHttpAssetAccessor(),
getIonServerUrl(),
getIonServerApiUrl(),
getIonServerApplicationId())) {}
getIonServerApplicationId())) {
_session->resume();
}

const pxr::SdfPath& OmniIonServer::getPath() const {
return _path;
Expand Down

0 comments on commit bf7fad2

Please sign in to comment.