@procore/bim-webviewer-sdk 13.0.1 → 13.1.0-rc.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,6 +5,27 @@ 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
+ ## [13.1.0] - 2024-03-18
9
+
10
+ ### Added
11
+
12
+ - New SDK method `camera.setPose` which sets the camera's position and look at point in one call. Alternatively, you can pass in a reference pose to `camera.setPose` to set the camera to a specific position and look at point relative to the model's global bounding box. Finally, an optional key `cameraUp` can be passed in to set the camera's up vector along with the pose.
13
+ - `camera.setPose({ pose: { position: { x: 0, y: 0, z: 0 }, lookAt: { x: 0, y: 0, z: 0 } } })` will set the camera to the origin of the model.
14
+ - `camera.setPose({ pose: 'top' })` will set the camera to the top of the model looking down.
15
+ - `camera.setPose({ pose: 'bottom', cameraUp: { x: 0.1, y: 0, z: 0} })` will set the camera position to the bottom of the model looking up and will set the camera up to a normalized version of the passed in `cameraUp` argument.
16
+ - [Internal] Add `npm run updateProcore:experimental` for deploying experimental Web Viewer builds to old documents behind a LaunchDarkly flag
17
+
18
+ ### Changed
19
+
20
+ - [Internal] Add error check for "estranged parent nodes" who have a child that doesn't point back to them as the parent.
21
+
22
+ ### Fixed
23
+
24
+ - The `intersectPointClick` event now returns `null` in some edge cases (literally) where the click is very close to the edge, but does not actually intersect. Previously it would return the center of the object in this case even though there was no actual intersection. This was most reproducible when clicking on the edges of objects that are very far away where a single pixel could partially contain an object.
25
+ - [Internal] Move the point at which the value of `detailsParam` is evaluated for partitioned models.
26
+ - [Internal] WARNING - This is an attempt to fix a bug that is NOT reproducible in `development`.
27
+ - [Internal] Fixed issue when there are too many downloads pending in the browser in Windows machine will throw network change error after certain time, now the maxium number of parallel downloading for partition files is set to 4
28
+
8
29
  ## [13.0.1] - 2024-03-06
9
30
 
10
31
  ### Fixed