Merge branch 'main' into gsplat-sh-release

This commit is contained in:
keyboardspecialist 2025-08-29 14:44:31 -05:00
commit a942986fc3
2 changed files with 7 additions and 2 deletions

View File

@ -12,7 +12,8 @@
#### Fixes :wrench:
- Removes the minimum tile threshold of four for WMTS. [#4372](https://github.com/CesiumGS/cesium/issues/4372)
- Fixed a crash that could happen when loading PNTS (point cloud) data that contained a batch table without a binary part [#11166](https://github.com/CesiumGS/cesium/issues/11166)
- Fixes issue where a Gaussian splat tileset would be rendered even if out of current camera view. [#12840](https://github.com/CesiumGS/cesium/pull/12840)
- Fixed a crash that could happen when loading PNTS (point cloud) data that contained a batch table without a binary part. [#11166](https://github.com/CesiumGS/cesium/issues/11166)
#### Additions :tada:

View File

@ -806,7 +806,11 @@ GaussianSplatPrimitive.prototype.update = function (frameState) {
this._rootTransform = tileset.root.computedTransform;
}
if (this._drawCommand && tileset.show) {
if (!tileset.show || tileset._selectedTiles.length === 0) {
return;
}
if (this._drawCommand) {
frameState.commandList.push(this._drawCommand);
}