vim-web 0.3.42-dev.10 → 0.3.42-dev.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.
@@ -45720,6 +45720,13 @@ void main() {
45720
45720
  if (this._visibleAttribute.apply(value)) {
45721
45721
  this.vim.scene.setDirty();
45722
45722
  }
45723
+ if (value) {
45724
+ this._meshes.forEach((m) => {
45725
+ if (m.mesh.mesh.visible) {
45726
+ m.mesh.mesh.visible = true;
45727
+ }
45728
+ });
45729
+ }
45723
45730
  }
45724
45731
  /**
45725
45732
  * Gets or sets the display color of this object.
@@ -52836,6 +52843,7 @@ void main() {
52836
52843
  add(target) {
52837
52844
  if (target instanceof Scene) {
52838
52845
  this.addScene(target);
52846
+ target.material = this._modelMaterial;
52839
52847
  return;
52840
52848
  }
52841
52849
  this._2dCount += this.count2dObjects(target);