vim-web 0.3.42-dev.12 → 0.3.42-dev.14

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.
@@ -45717,14 +45717,13 @@ void main() {
45717
45717
  return this._visibleAttribute.value;
45718
45718
  }
45719
45719
  set visible(value) {
45720
+ var _a2;
45720
45721
  if (this._visibleAttribute.apply(value)) {
45721
45722
  this.vim.scene.setDirty();
45722
45723
  }
45723
45724
  if (value) {
45724
- this._meshes.forEach((m) => {
45725
- if (m.mesh.mesh.visible) {
45726
- m.mesh.mesh.visible = true;
45727
- }
45725
+ (_a2 = this._meshes) == null ? void 0 : _a2.forEach((m) => {
45726
+ m.mesh.mesh.visible = true;
45728
45727
  });
45729
45728
  }
45730
45729
  }
@@ -52910,12 +52909,14 @@ void main() {
52910
52909
  if (mesh instanceof InstancedMesh) {
52911
52910
  if (this.smallGhostThreshold <= 0) {
52912
52911
  mesh.mesh.visible = true;
52912
+ console.log("skip");
52913
52913
  continue;
52914
52914
  }
52915
52915
  const visible2 = mesh.getSubmeshes().some(
52916
52916
  (m) => m.object.visible
52917
52917
  );
52918
52918
  mesh.mesh.visible = !(hide && !visible2 && mesh.size < this.smallGhostThreshold);
52919
+ console.log("visible", mesh.mesh.visible);
52919
52920
  }
52920
52921
  }
52921
52922
  }
@@ -66887,7 +66888,7 @@ Averrage Date/Second ${avgDataRatePS} kb
66887
66888
  materials: {
66888
66889
  useFastMaterial: false,
66889
66890
  useGhostMaterial: true,
66890
- smallGhostThreshold: 10
66891
+ smallGhostThreshold: 100
66891
66892
  },
66892
66893
  isolation: {
66893
66894
  enable: true