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