@thatopen/components 2.1.24 → 2.1.26
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/core/Components/index.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +5 -7
- package/dist/namespace.d.ts +1683 -1683
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -3091,7 +3091,7 @@ const As = class As {
|
|
|
3091
3091
|
/**
|
|
3092
3092
|
* The version of the @thatopen/components library.
|
|
3093
3093
|
*/
|
|
3094
|
-
u(As, "release", "2.1.
|
|
3094
|
+
u(As, "release", "2.1.26");
|
|
3095
3095
|
let pi = As;
|
|
3096
3096
|
class gr extends _i {
|
|
3097
3097
|
constructor() {
|
|
@@ -8126,14 +8126,15 @@ const Ft = class Ft extends et {
|
|
|
8126
8126
|
const i = Ft.getFragmentBounds(t);
|
|
8127
8127
|
t.updateMatrixWorld();
|
|
8128
8128
|
const o = t.matrixWorld, n = new A.Matrix4(), r = t instanceof A.InstancedMesh, a = /* @__PURE__ */ new Set();
|
|
8129
|
-
if (
|
|
8129
|
+
if (t instanceof Vt.FragmentMesh) {
|
|
8130
|
+
e || (e = t.fragment.ids);
|
|
8130
8131
|
for (const c of e) {
|
|
8131
8132
|
const h = t.fragment.getInstancesIDs(c);
|
|
8132
8133
|
if (h)
|
|
8133
8134
|
for (const E of h)
|
|
8134
8135
|
a.add(E);
|
|
8135
8136
|
}
|
|
8136
|
-
else
|
|
8137
|
+
} else
|
|
8137
8138
|
a.add(0);
|
|
8138
8139
|
for (const c of a) {
|
|
8139
8140
|
const h = i.min.clone(), E = i.max.clone();
|
|
@@ -10113,10 +10114,6 @@ const Ge = class Ge extends et {
|
|
|
10113
10114
|
}
|
|
10114
10115
|
/** {@link Disposable.dispose} */
|
|
10115
10116
|
dispose() {
|
|
10116
|
-
try {
|
|
10117
|
-
this.webIfc.Dispose();
|
|
10118
|
-
} catch {
|
|
10119
|
-
}
|
|
10120
10117
|
this.webIfc = null, this.onDisposed.trigger(Ge.uuid), this.onDisposed.reset();
|
|
10121
10118
|
}
|
|
10122
10119
|
/**
|
|
@@ -10211,6 +10208,7 @@ const Ge = class Ge extends et {
|
|
|
10211
10208
|
try {
|
|
10212
10209
|
this.webIfc.Dispose();
|
|
10213
10210
|
} catch {
|
|
10211
|
+
console.log("Web-ifc wasn't disposed.");
|
|
10214
10212
|
}
|
|
10215
10213
|
this.webIfc = null, this.webIfc = new D.IfcAPI(), this._visitedFragments.clear(), this._fragmentInstances.clear();
|
|
10216
10214
|
}
|