@d5techs/3dgs-lib 1.1.1 → 1.1.3

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/3dgs-lib.js CHANGED
@@ -1084,8 +1084,8 @@ class ViewportGizmo {
1084
1084
  },
1085
1085
  depthStencil: {
1086
1086
  format: this.renderer.depthFormat,
1087
- depthWriteEnabled: true,
1088
- depthCompare: "less"
1087
+ depthWriteEnabled: false,
1088
+ depthCompare: "always"
1089
1089
  }
1090
1090
  });
1091
1091
  }
@@ -13134,7 +13134,7 @@ class HotspotManager {
13134
13134
  console.warn("HotspotManager: OBJ 加载无网格");
13135
13135
  return;
13136
13136
  }
13137
- const meshStartIndex = this.meshRenderer.getMeshCount();
13137
+ const meshStartIndex = this.meshRenderer.getOverlayMeshCount();
13138
13138
  let placedScale = 1;
13139
13139
  let placedLocalCenter = [0, 0, 0];
13140
13140
  const firstBbox = loadedMeshes[0].mesh.getLocalBoundingBox();