diff --git a/CHANGES.md b/CHANGES.md index e9019add..3dcfbd1a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/src/core/src/OmniIonServer.cpp b/src/core/src/OmniIonServer.cpp index 47a4b06a..70c07be8 100644 --- a/src/core/src/OmniIonServer.cpp +++ b/src/core/src/OmniIonServer.cpp @@ -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;