mirror of https://github.com/CesiumGS/cesium.git
Remove redundant boolean
This commit is contained in:
parent
3a5bfbea9a
commit
2c378378e3
|
|
@ -720,7 +720,7 @@ GaussianSplatPrimitive.prototype.update = function (frameState) {
|
|||
this._rootTransform = tileset.root.computedTransform;
|
||||
}
|
||||
|
||||
if (tileset.show === false || tileset._selectedTiles.length === 0) {
|
||||
if (!tileset.show || tileset._selectedTiles.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue