vim-web 0.3.42-dev.11 → 0.3.42-dev.13

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,11 @@ 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
+ m.mesh.mesh.visible = true;
45726
+ });
45727
+ }
45723
45728
  }
45724
45729
  /**
45725
45730
  * Gets or sets the display color of this object.
@@ -52903,12 +52908,14 @@ void main() {
52903
52908
  if (mesh instanceof InstancedMesh) {
52904
52909
  if (this.smallGhostThreshold <= 0) {
52905
52910
  mesh.mesh.visible = true;
52911
+ console.log("skip");
52906
52912
  continue;
52907
52913
  }
52908
52914
  const visible2 = mesh.getSubmeshes().some(
52909
52915
  (m) => m.object.visible
52910
52916
  );
52911
52917
  mesh.mesh.visible = !(hide && !visible2 && mesh.size < this.smallGhostThreshold);
52918
+ console.log("visible", mesh.mesh.visible);
52912
52919
  }
52913
52920
  }
52914
52921
  }
@@ -66880,7 +66887,7 @@ Averrage Date/Second ${avgDataRatePS} kb
66880
66887
  materials: {
66881
66888
  useFastMaterial: false,
66882
66889
  useGhostMaterial: true,
66883
- smallGhostThreshold: 10
66890
+ smallGhostThreshold: 100
66884
66891
  },
66885
66892
  isolation: {
66886
66893
  enable: true