vim-web 0.3.42-dev.7 → 0.3.42-dev.9

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.
@@ -48576,7 +48576,8 @@ void main() {
48576
48576
  * Determines the opacity of the ghost material.
48577
48577
  */
48578
48578
  get ghostOpacity() {
48579
- return this.ghost.opacity;
48579
+ const mat = this.ghost;
48580
+ return mat.uniforms.opacity.value;
48580
48581
  }
48581
48582
  set ghostOpacity(opacity) {
48582
48583
  const mat = this.ghost;
@@ -74327,9 +74328,6 @@ Averrage Date/Second ${avgDataRatePS} kb
74327
74328
  performance2.classList.add("vc-hidden");
74328
74329
  }
74329
74330
  }
74330
- if (!settings2.isolation.enable) {
74331
- viewer.renderer.modelMaterial = settings2.materials.useFastMaterial ? viewer.materials.simple : void 0;
74332
- }
74333
74331
  }
74334
74332
  class Isolation {
74335
74333
  /**
@@ -74372,8 +74370,8 @@ Averrage Date/Second ${avgDataRatePS} kb
74372
74370
  */
74373
74371
  applySettings(settings2) {
74374
74372
  this._settings = settings2;
74373
+ if (!this._settings.isolation.enable) return;
74375
74374
  this._viewer.renderer.modelMaterial = this.getMaterial(this._settings, this.isActive());
74376
- console.log("Isolation.applySettings", this._viewer.renderer.modelMaterial);
74377
74375
  }
74378
74376
  /**
74379
74377
  * Checks if isolation is currently active (i.e., any objects are isolated).