@procore/bim-webviewer-sdk 5.0.0 → 5.1.0-rc.2
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,6 +5,35 @@ 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
|
+
## [5.1.0] - 2022-08-22
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `Isolate` in the Context Menu is now enabled when multiple objects are selected.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Decreased load time, especially for larger models, by optimizing the way we construct object bounding boxes.
|
|
17
|
+
- Improves mouse control:
|
|
18
|
+
- Eliminates the drift when clicking and dragging on the default tool;
|
|
19
|
+
- Improves handling of the mouse leaving the browser and coming back in, by terminating the interaction.
|
|
20
|
+
- Eliminate "space junk" when zooming to global view
|
|
21
|
+
- This change only occurs in some situations depending on whether a `bcfCamera` option was provided. More specifically:
|
|
22
|
+
- When a home viewpoint is defined (i.e. a `bcfCamera` option is passed)
|
|
23
|
+
- The model is loaded with the camera at the home viewpoint
|
|
24
|
+
- Clicking the Home button zooms to the home viewpoint
|
|
25
|
+
- `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).
|
|
26
|
+
- When a home viewpoint is NOT defined (i.e. no `bcfCamera` option is passed)
|
|
27
|
+
- 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).
|
|
28
|
+
- 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.
|
|
29
|
+
- `ProcoreBim.camera.zoomToGlobal()` zooms to the refined global bounding box, which will be cached from when the model was opened.
|
|
30
|
+
- 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.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- The loading tool (`ProcoreBim.Webviewer.tools.LOADING`) now shows an error message when a model is too large instead of crashing silently.
|
|
35
|
+
- Fixed an issue where Markup, Views, and Home Viewpoints could be incorrectly rotated 90 degrees when the camera direction was straight up or down.
|
|
36
|
+
|
|
8
37
|
## [5.0.0] - 2022-08-08
|
|
9
38
|
|
|
10
39
|
### Removed
|