CesiumGS / cesium-native

Apache License 2.0
438 stars 215 forks source link

Add checks for `nullptr` credit system in raster overlays #1001

Closed j9liu closed 4 days ago

j9liu commented 6 days ago

Part of the fix for https://github.com/CesiumGS/cesium-unreal/issues/1549. This adds checks for a null CreditSystem to the various overlay types.

TMS is the only raster overlay type with unit tests, so that was the only one I was able to verify via test. But the change is similar for the other raster overlay types, so hopefully it's sufficient.

kring commented 4 days ago

Thanks @j9liu!