@jdultra/threedtiles 14.0.2 → 14.0.3
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.
package/dist/threedtiles.es.js
CHANGED
|
@@ -9656,7 +9656,7 @@ class me extends P.Object3D {
|
|
|
9656
9656
|
}
|
|
9657
9657
|
async _load(A = !0, g = !0) {
|
|
9658
9658
|
var I = this;
|
|
9659
|
-
if (!I.deleted) {
|
|
9659
|
+
if (!I.deleted || !g) {
|
|
9660
9660
|
if (I.json.content) await Q(I.json.content, null, A, g);
|
|
9661
9661
|
else if (I.json.contents) {
|
|
9662
9662
|
let C = I.json.contents.map((E, a) => Q(E, a, A, g));
|
|
@@ -9688,7 +9688,7 @@ class me extends P.Object3D {
|
|
|
9688
9688
|
I.displayErrors && TE(s);
|
|
9689
9689
|
}
|
|
9690
9690
|
else a && t.includes(".json") && (I.jsonRequested = t, I.tileLoader.get(I.abortController, I.uuid, t, async (s) => {
|
|
9691
|
-
I.jsonReceived = !0,
|
|
9691
|
+
I.jsonReceived = !0, s.rootPath = CI.dirname(t), I.json.children.push(s), E == null ? delete I.json.content : I.json.contents.splice(E, 1), I.hasUnloadedJSONContent--;
|
|
9692
9692
|
}));
|
|
9693
9693
|
}
|
|
9694
9694
|
}
|