CesiumGS / cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
https://cesium.com/platform/cesium-for-omniverse/
Apache License 2.0
51 stars 7 forks source link

Allow token-less tilesets to load #703

Closed r-veenstra closed 4 months ago

r-veenstra commented 4 months ago

This PR removes the check for an empty token when configuring a tileset.

This check was preventing some tilesets from loading in scenarios such as using Cesium ion Self-Hosted in developer mode, which does not use Oauth, and a token is not provided. #702

I'm not 100% sure if there was anything more to the original if statement other than being a sanity check that all values were valid, but @lilleyse please let me know if there is something more to it and we'll work out another approach if needed.

I've tested this with both Self-Hosted and ion content and it appears to be working fine.