1.126
CesiumGS/cesium1.126Feb 3, 2025by jjhembd
AI Summary
CesiumJS 1.126 introduces new iTwin integration features and fixes critical bugs related to model matrix resets, clipping polygons, and Draco vertex color decoding.
Key Highlights
- Added ITwinData.loadGeospatialFeatures function for Bentley iTwin data.
- Fixed error when resetting Cesium3DTileset.modelMatrix to its initial value.
- Fixed ClippingPolygon.equals parameter types.
- Fixed Draco decoding for normalized UNSIGNED_BYTE and UNSIGNED_SHORT vertex colors.
New Features
- Loading data from the Geospatial Features API.
- Fixed Draco decoding for vertex colors.
Full Release Notes
1.126 - 2025-02-03 Highlights include: - Added `ITwinData.loadGeospatialFeatures(iTwinId, collectionId)` function to load data from the [Geospatial Features API](https://developer.bentley.com/apis/geospatial-features/operations/get-features/) [#12449](https://github.com/CesiumGS/cesium/pull/12449) - Fixed error when resetting `Cesium3DTileset.modelMatrix` to its initial value. [#12409](https://github.com/CesiumGS/cesium/pull/12409) - Fixed the parameter types of the `ClippingPolygon.equals` function, and fixed cases where parameters to `equals` functions had erroneously not been marked as 'optional'. [#12394](https://github.com/CesiumGS/cesium/pull/12394) - Fixed Draco decoding for vertex colors that are normalized `UNSIGNED_BYTE` or `UNSIGNED_SHORT`. [#12417](https://github.com/CesiumGS/cesium/pull/12417) See the [changelog](https://github.com/CesiumGS/cesium/blob/1.126/CHANGES.md) for the complete list of changes.