@procore/bim-webviewer-sdk 17.3.0-rc.7 → 17.3.0-rc.8
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/CHANGELOG.md +1 -0
- package/dist/Procore.Bim.Webviewer.d.ts +0 -5
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/controllers/RenderController.d.ts +0 -2
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +0 -2
- package/dist/types/src/controllers/RenderControllerWorker.d.ts +0 -2
- package/dist/types/src/controllers/ShortestDistanceController.d.ts +0 -1
- package/dist/types/src/pwfreader/PWF.d.ts +1 -2
- package/dist/types/src/pwfreader/PWFProxy.d.ts +1 -2
- package/dist/types/src/pwfreader/v1/PWFV1.d.ts +0 -2
- package/dist/types/src/pwfreader/v2/PWFV2.d.ts +0 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
15
15
|
|
|
16
16
|
- ([#1415](https://github.com/procore/bim-webviewer/pull/1415)) Changed the priority of the escape key operations to place resetting the measurement below closing the floor plan modal, but above closing any open windows.
|
|
17
17
|
- ([#1416](https://github.com/procore/bim-webviewer/pull/1416)) When the Measurement Tool is enabled, the context menu for mouse right click button will no longer display.
|
|
18
|
+
- ([#1442](https://github.com/procore/bim-webviewer/pull/1442)) [Internal] Refactor Shortest Distance Measurement to get mesh data in the same code path for both standard and partitioned models. For partitioned models this means it no longer fetches the partition from cache for the mesh data and instead reads it from OPFS
|
|
18
19
|
|
|
19
20
|
### Fixed
|
|
20
21
|
|
|
@@ -507,8 +507,6 @@ declare type MeshnodeObject_2 = {
|
|
|
507
507
|
selected: boolean;
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
-
declare type MeshnodeObject_3 = MeshnodeObject | MeshnodeObject_2;
|
|
511
|
-
|
|
512
510
|
declare class MeshnodeServices {
|
|
513
511
|
private meshnodeCount;
|
|
514
512
|
private meshnodes;
|
|
@@ -1025,7 +1023,6 @@ declare interface PWF {
|
|
|
1025
1023
|
hasNode(id: number): boolean;
|
|
1026
1024
|
loadAllMeshGeometryToGPU(): BootstrapperResult;
|
|
1027
1025
|
loadAllPartitionProxies(): void;
|
|
1028
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject_3>;
|
|
1029
1026
|
captureModelStats(): void;
|
|
1030
1027
|
getModelAnalyticsData(): ModelAnalyticsData;
|
|
1031
1028
|
get virtualMeshnodeIndexOffset(): number;
|
|
@@ -1249,7 +1246,6 @@ declare class PWFV1 implements PWF {
|
|
|
1249
1246
|
numFirstObjects(): number;
|
|
1250
1247
|
breadthFirstTraversalNodes(callback: (n: Node_3 | Meshnode_2) => void): BootstrapperResult;
|
|
1251
1248
|
getNamedNode(nodeId: number): Node_3;
|
|
1252
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject>;
|
|
1253
1249
|
captureModelStats(): number;
|
|
1254
1250
|
private captureStandardModelStats;
|
|
1255
1251
|
private capturePartitionedModelStats;
|
|
@@ -1340,7 +1336,6 @@ declare class PWFV2 implements PWF {
|
|
|
1340
1336
|
numFirstObjects(): number;
|
|
1341
1337
|
breadthFirstTraversalNodes(callback: (n: Node_4 | Meshnode_3) => void): BootstrapperResult;
|
|
1342
1338
|
getNamedNode(nodeId: number): Node_4;
|
|
1343
|
-
getMeshDataForPartitionedModel(meshnodeIndex: number): Promise<MeshnodeObject_2>;
|
|
1344
1339
|
captureModelStats(): number;
|
|
1345
1340
|
private captureStandardModelStats;
|
|
1346
1341
|
private capturePartitionedModelStats;
|