mirror of https://github.com/CesiumGS/cesium.git
Merge branch 'main' into gsplat-sh-release
This commit is contained in:
commit
a942986fc3
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue