CesiumGS / cesium-native

Apache License 2.0
414 stars 210 forks source link

Fix how batch tables choose sentinel values #794

Closed j9liu closed 7 months ago

j9liu commented 7 months ago

This PR fixes how batch tables choose noData values when upgrading to EXT_structural_metadata. Specifically,

Without these checks, there is some unpredictable behavior because some of the code assumes a valid sentinel value exists, leading to dereferenced nullopts 😬

kring commented 7 months ago

Thanks @j9liu!