@thatopen/components 2.1.23 → 2.1.24
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 +4 -4
- package/dist/index.mjs +5 -5
- package/dist/namespace.d.ts +1176 -1176
- package/package.json +1 -1
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.24");
|
|
3095
3095
|
let pi = As;
|
|
3096
3096
|
class gr extends _i {
|
|
3097
3097
|
constructor() {
|
|
@@ -3305,7 +3305,7 @@ class aa extends dr {
|
|
|
3305
3305
|
}
|
|
3306
3306
|
/** {@link Disposable.dispose} */
|
|
3307
3307
|
dispose() {
|
|
3308
|
-
this.enabled = !1, this.setupEvents(!1), this.three.domElement.remove(), this.three.dispose(), this.onResize.reset(), this.onAfterUpdate.reset(), this.onBeforeUpdate.reset(), this.onDisposed.trigger(), this.onDisposed.reset();
|
|
3308
|
+
this.enabled = !1, this.setupEvents(!1), this.three.domElement.remove(), this.three.forceContextLoss(), this.three.dispose(), this.onResize.reset(), this.onAfterUpdate.reset(), this.onBeforeUpdate.reset(), this.onDisposed.trigger(), this.onDisposed.reset();
|
|
3309
3309
|
}
|
|
3310
3310
|
/** {@link Resizeable.getSize}. */
|
|
3311
3311
|
getSize() {
|
|
@@ -5033,7 +5033,7 @@ class wr {
|
|
|
5033
5033
|
this.enabled = !1;
|
|
5034
5034
|
for (const s of this.scene.children)
|
|
5035
5035
|
s.removeFromParent();
|
|
5036
|
-
this.onViewUpdated.reset(), this.worker.terminate(), this.renderer.dispose(), this.renderTarget.dispose(), this._buffer = null, this.onDisposed.reset();
|
|
5036
|
+
this.onViewUpdated.reset(), this.worker.terminate(), this.renderer.forceContextLoss(), this.renderer.dispose(), this.renderTarget.dispose(), this._buffer = null, this.onDisposed.reset();
|
|
5037
5037
|
}
|
|
5038
5038
|
getAvailableColor() {
|
|
5039
5039
|
let s = BigInt(this._availableColor.toString());
|
|
@@ -5445,7 +5445,7 @@ void main() {
|
|
|
5445
5445
|
}
|
|
5446
5446
|
/** {@link Disposable.dispose} */
|
|
5447
5447
|
dispose() {
|
|
5448
|
-
this.enabled = !1, this.onDistanceComputed.reset(), this.worker.terminate(), this.renderer.dispose(), this.tempRT.dispose(), this.resultRT.dispose();
|
|
5448
|
+
this.enabled = !1, this.onDistanceComputed.reset(), this.worker.terminate(), this.renderer.forceContextLoss(), this.renderer.dispose(), this.tempRT.dispose(), this.resultRT.dispose();
|
|
5449
5449
|
const s = [...this.scene.children];
|
|
5450
5450
|
this.excludedObjects.clear();
|
|
5451
5451
|
for (const t of s)
|
|
@@ -6927,7 +6927,7 @@ class kr {
|
|
|
6927
6927
|
}
|
|
6928
6928
|
/** {@link Disposable.dispose} */
|
|
6929
6929
|
dispose() {
|
|
6930
|
-
this.enabled = !1, this.onBeforeUpdate.reset(), this.onAfterUpdate.reset(), this.onResize.reset(), this.overrideMaterial.dispose(), this.renderer.dispose(), this.onDisposed.trigger(), this.onDisposed.reset();
|
|
6930
|
+
this.enabled = !1, this.onBeforeUpdate.reset(), this.onAfterUpdate.reset(), this.onResize.reset(), this.overrideMaterial.dispose(), this.renderer.forceContextLoss(), this.renderer.dispose(), this.onDisposed.trigger(), this.onDisposed.reset();
|
|
6931
6931
|
}
|
|
6932
6932
|
/** Returns the camera used by the MiniMap */
|
|
6933
6933
|
get() {
|