@thatopen/components 2.3.11 → 2.3.12

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/index.mjs CHANGED
@@ -3137,7 +3137,7 @@ const Fs = class Fs {
3137
3137
  /**
3138
3138
  * The version of the @thatopen/components library.
3139
3139
  */
3140
- C(Fs, "release", "2.3.11");
3140
+ C(Fs, "release", "2.3.12");
3141
3141
  let Cs = Fs;
3142
3142
  class Qa extends xn {
3143
3143
  constructor() {
@@ -6959,9 +6959,11 @@ class Vn {
6959
6959
  * @param {boolean} state - The new enabled state.
6960
6960
  */
6961
6961
  set enabled(i) {
6962
- if (!this.world.renderer)
6963
- throw new Error("No renderer found for clipping plane!");
6964
- this._enabled = i, this.world.renderer.setPlane(i, this.three);
6962
+ if (!this.world.isDisposing) {
6963
+ if (!this.world.renderer)
6964
+ throw new Error("No renderer found for clipping plane!");
6965
+ this._enabled = i, this.world.renderer.setPlane(i, this.three);
6966
+ }
6965
6967
  }
6966
6968
  /** {@link Hideable.visible } */
6967
6969
  get visible() {