@procore/bim-webviewer-sdk 5.0.0-rc.0 → 5.1.0-BIM-1871.0
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
CHANGED
|
@@ -5,8 +5,53 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fix `ProcoreBim.model.getObject` and `ProcoreBim.model.getObjectFromPropertyId` when `enableWebWorker: true`. Previously they incorrectly threw an error.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- [Internal] Add rust test in CI build
|
|
17
|
+
- [Internal] Add unit test for the rust
|
|
18
|
+
|
|
19
|
+
## [5.1.0] - 2022-08-22
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `Isolate` in the Context Menu is now enabled when multiple objects are selected.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Decreased load time, especially for larger models, by optimizing the way we construct object bounding boxes.
|
|
28
|
+
- Improves mouse control:
|
|
29
|
+
- Eliminates the drift when clicking and dragging on the default tool;
|
|
30
|
+
- Improves handling of the mouse leaving the browser and coming back in, by terminating the interaction.
|
|
31
|
+
- Eliminate "space junk" when zooming to global view
|
|
32
|
+
- This change only occurs in some situations depending on whether a `bcfCamera` option was provided. More specifically:
|
|
33
|
+
- When a home viewpoint is defined (i.e. a `bcfCamera` option is passed)
|
|
34
|
+
- The model is loaded with the camera at the home viewpoint
|
|
35
|
+
- Clicking the Home button zooms to the home viewpoint
|
|
36
|
+
- `ProcoreBim.camera.zoomToGlobal()` zooms to the refined global bounding box, which is calculated the first time and cached in JS memory for the remainder of the browser session (i.e. it is lost on page reload).
|
|
37
|
+
- When a home viewpoint is NOT defined (i.e. no `bcfCamera` option is passed)
|
|
38
|
+
- The model loads with the camera with the refined global bounding box in view. The refined global bounding box is calculated here, adding to the load time of the model, and then cached in JS memory for the remainder of the browser session (i.e. it is lost on page reload).
|
|
39
|
+
- Clicking the Home button zooms to have the refined global bounding box in view. The refined global bounding box will be cached from when the model was opened.
|
|
40
|
+
- `ProcoreBim.camera.zoomToGlobal()` zooms to the refined global bounding box, which will be cached from when the model was opened.
|
|
41
|
+
- Performance Note: the execution time for eliminating space junk scales with the number of meshnodes in the model. Mostly this cost is incurred at load time, but will be incurred the first time `ProcoreBim.camera.zoomToGlobal()` is called if a `bcfCamera` option was provided.
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- The loading tool (`ProcoreBim.Webviewer.tools.LOADING`) now shows an error message when a model is too large instead of crashing silently.
|
|
46
|
+
- Fixed an issue where Markup, Views, and Home Viewpoints could be incorrectly rotated 90 degrees when the camera direction was straight up or down.
|
|
47
|
+
|
|
8
48
|
## [5.0.0] - 2022-08-08
|
|
9
49
|
|
|
50
|
+
### Removed
|
|
51
|
+
|
|
52
|
+
- [BREAKING CHANGE] removes `camera.zoomExtents` method.
|
|
53
|
+
- You can safely replace this with `camera.zoomToBoundingBox` which has the same signature and behavior.
|
|
54
|
+
|
|
10
55
|
### Fixed
|
|
11
56
|
|
|
12
57
|
- Fixed click behaviours for the Model Tree.
|
|
@@ -29,15 +74,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
29
74
|
- Right-click an object from the Object Tree then select "Zoom to Selection" to move the camera in front of that object.
|
|
30
75
|
- Select an object, click the "Object Actions" dropdown in the Object Tree, and then select "Zoom to Selection" to move the camera in front of that object.
|
|
31
76
|
|
|
32
|
-
### Changed
|
|
33
|
-
|
|
34
|
-
- [Internal] Refactored hide/unhide logic from RenderController and ProcoreRenderer into HiddenNodeServices. These changes should be transparent to third parties and does not break any public facing calls.
|
|
35
|
-
|
|
36
|
-
## Removed
|
|
37
|
-
|
|
38
|
-
- [BREAKING CHANGE] removes `camera.zoomExtents` method.
|
|
39
|
-
- You can safely replace this with `camera.zoomToBoundingBox` which has the same signature and behavior.
|
|
40
|
-
|
|
41
77
|
## [4.0.0] - 2022-07-21
|
|
42
78
|
|
|
43
79
|
### Changed
|