@jdultra/threedtiles 13.1.1 → 13.1.2

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.
@@ -2530,7 +2530,7 @@ class Ni {
2530
2530
  if (this.timeout = e.timeout != null ? e.timeout : 5e3, this.renderer = e.renderer, this.zUpToYUpMatrix = new E.Matrix4(), this.zUpToYUpMatrix.set(1, 0, 0, 0, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 1), this.maxCachedItems = 100, this.proxy = e.proxy, e && (this.meshCallback = e.meshCallback, this.pointsCallback = e.pointsCallback, e.maxCachedItems != null && (this.maxCachedItems = e.maxCachedItems)), this.gltfLoader = new Dt(), e && e.dracoLoader) this.gltfLoader.setDRACOLoader(e.dracoLoader), this.hasDracoLoader = !0;
2531
2531
  else {
2532
2532
  const a = new Rt();
2533
- a.setDecoderPath("https://storage.googleapis.com/ogc-3d-tiles/draco/"), this.dracoLoader = a, this.gltfLoader.setDRACOLoader(a), this.gltfLoader.hasDracoLoader = !0;
2533
+ a.setDecoderPath("https://storage.googleapis.com/ogc-3d-tiles/draco/"), this.dracoLoader = a, this.gltfLoader.setDRACOLoadMer(a), this.gltfLoader.hasDracoLoader = !0;
2534
2534
  }
2535
2535
  if (e && e.ktx2Loader) this.gltfLoader.setKTX2Loader(e.ktx2Loader), this.hasKTX2Loader = !0;
2536
2536
  else if (e && e.renderer) {
@@ -2699,11 +2699,11 @@ class Ni {
2699
2699
  }
2700
2700
  }
2701
2701
  _disposeEntryContent(e) {
2702
- e.value.isSplatsBatch ? e.value.remove() : e.value.traverse && e.value.traverse((a) => {
2702
+ e.value && (e.value.isSplatsBatch ? e.value.remove() : e.value.traverse && e.value.traverse((a) => {
2703
2703
  if (a.material) if (a.material.length) for (let t = 0; t < a.material.length; ++t) a.material[t].dispose();
2704
2704
  else a.material.dispose();
2705
2705
  a.geometry && a.geometry.dispose();
2706
- });
2706
+ }));
2707
2707
  }
2708
2708
  }
2709
2709
  function ct(c) {