@procore/bim-webviewer-sdk 9.1.1 → 10.0.0-BIM-3518.1
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 +22 -1
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,11 +5,32 @@ 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
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- [Internal] While in API_MODE.MODEL_REVISION, ApiMetaData is now capable of returning the Model Revision object from the Procore Rest API. Additionally, it can now return a Model Revision's Home Viewpoint, if a primary viewpoint exists for the revision.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- If `options.bcfCamera` is not specified and the model is loaded with a `modelId` and `modelRevisionId`, the camera will default to the Home Viewpoint. The Home Viewpoint represents the primary viewpoint for the model revision, if available. In the absence of a Home Viewpoint, the camera will automatically zoom to fit the entire model, and the Home button will perform the same action.
|
|
17
|
+
- [Internal] Convert Markup class to TS and add tests around it.
|
|
18
|
+
|
|
19
|
+
## [10.0.0] - 2023-12-11
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- `camera.getSnapshot` and `camera.getSnapshotDataUrl` now have a default background color of light blue (#ecf2f6) instead of transparent.
|
|
24
|
+
- [Breaking Change] The `intersectPointClick` event's payload has changed:
|
|
25
|
+
- The `intersectPointClick` payload is now in world coordinates, meaning it has the result of `model.getGlobalOffset` added to it.
|
|
26
|
+
- The `intersectPointClick` payload is now `null` when empty space is clicked. Previously the payload would be `{ x: 0, y: 0, z: 0 }`, which was a workable way to test that nothing was clicked, but a bit confusing.
|
|
27
|
+
- Remove subtext from "Model Downloading" and "Properties Loading" loading screens. The subtext was making promises about caching that we weren't keeping and don't have plans to tackle at the moment. No actual changes to the downloading of the model or the loading of the properties though, just the informational subtext on the loading screens.
|
|
28
|
+
|
|
8
29
|
## [9.1.1] - 2023-11-27
|
|
9
30
|
|
|
10
31
|
### Changed
|
|
11
32
|
|
|
12
|
-
- `
|
|
33
|
+
- `camera.getSnapshot` and `camera.getSnapshotDataUrl` now produce images that do not contain the section box display (orange box) if it is enabled when the snapshot is taken. The clipping planes it represents are still enabled.
|
|
13
34
|
|
|
14
35
|
## [9.1.0] - 2023-11-13
|
|
15
36
|
|