Skip to content

Commit

Permalink
Updated cesium ion to use the latest tag (v0.37.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbeverage committed Jul 25, 2024
1 parent a83fe7d commit c2fe4b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmake/FindCesiumNative.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,15 @@ find_cesium_library(CESIUM_NATIVE_GLTF_READER CesiumGltfReader)
find_cesium_library(CESIUM_NATIVE_ION_CLIENT CesiumIonClient)
find_cesium_library(CESIUM_NATIVE_JSONREADER CesiumJsonReader)
find_cesium_library(CESIUM_NATIVE_UTILITY CesiumUtility)
find_cesium_library(CESIUM_NATIVE_QUANTIZED_MESH_TERRAIN CesiumQuantizedMeshTerrain)

find_cesium_library(CESIUM_NATIVE_RASTER_OVERLAYS CesiumRasterOverlays)
find_cesium_library(CESIUM_NATIVE_3DTILES_CONTENT Cesium3DTilesContent)
find_cesium_library(CESIUM_NATIVE_GLTF_CONTENT CesiumGltfContent)

find_cesium_library(CESIUM_NATIVE_CSPRNG csprng)
find_cesium_library(CESIUM_NATIVE_DRACO draco)
find_cesium_library(CESIUM_NATIVE_KTX_READ ktx_read)
find_cesium_library(CESIUM_NATIVE_KTX ktx)
find_cesium_library(CESIUM_NATIVE_MODPB64 modp_b64)
find_cesium_library(CESIUM_NATIVE_S2GEOMETRY s2geometry)
find_cesium_library(CESIUM_NATIVE_SPDLOG spdlog)
Expand Down
5 changes: 4 additions & 1 deletion src/osgEarthCesium/CesiumIon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ CesiumIon::CesiumIon()

void CesiumIon::refresh()
{
Connection connection(Context::instance().asyncSystem, Context::instance().assetAccessor, getCesiumIonKey());
ApplicationData data;
data.authenticationMode = AuthenticationMode::SingleUser;

Connection connection(Context::instance().asyncSystem, Context::instance().assetAccessor, getCesiumIonKey(), data);

bool loaded = false;

Expand Down

0 comments on commit c2fe4b0

Please sign in to comment.