@jdultra/threedtiles 13.0.32 → 13.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3720,14 +3720,14 @@ class Wt extends E.Object3D {
3720
3720
  if (this.metric < 0) return !0;
3721
3721
  if (this.hasUnloadedJSONContent) return !1;
3722
3722
  if (!this.hasMeshContent && this.json.children.length == 0 && !this.hasUnloadedJSONContent) return !0;
3723
- if (!this.hasMeshContent || this.meshContent.length == 0 || !this.materialVisibility || this.splatsMesh && !this.splatsReady) {
3723
+ if (!this.hasMeshContent || this.meshContent.length == 0 || !this.materialVisibility) {
3724
3724
  if (this.children.length > 0) {
3725
3725
  var e = !0;
3726
3726
  return this.childrenTiles.every((a) => !!a._isReady() || (e = !1, !1)), e;
3727
3727
  }
3728
3728
  return !1;
3729
3729
  }
3730
- return !this.hasMeshContent || !(this.meshContent.length < this.hasMeshContent) && !(!this.materialVisibility || this.splatsMesh && !this.splatsReady);
3730
+ return !this.hasMeshContent || !(this.meshContent.length < this.hasMeshContent) && !!this.materialVisibility;
3731
3731
  }
3732
3732
  _isReadyImmediate() {
3733
3733
  if (this.materialVisibility || !this.loadOutsideView && this.metric < 0) return !0;