@procore/bim-webviewer-sdk 6.6.0-jv-test-merge-develop.13 → 6.6.0-jv-test-merge-develop.15

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
@@ -20,10 +20,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
20
20
  - `model.unhideObjects` to unhide objects by id
21
21
  - `model.getHiddenObjects` to get an array of object ids that are hidden
22
22
  - [Internal] Added an Debug.gui option to set the background color used in the scene.
23
- - Added `this.viewer.model.getRootObject` to the Web Viewer SDK which returns a root node object.
23
+ - Added `objectDeselect` event that includes object ids of all objects that were deselected
24
+ - [Internal] Added `logViewerEvents` option to `devEnvironmentConfig.local` that when set to `true` will log some events to the console in our dev environment.
25
+ - [Internal] Added `events/apiObjectSelection.cy` to test events that should and shouldn't fire when selection occurs via the API
26
+ - [Internal] Added `events/canvasObjectSelection.cy` to test events that should and shouldn't fire when selection occurs via mouse clicks on the canvas
24
27
 
25
28
  ### Changed
26
29
 
30
+ - Changed `selectedUpdated` event to include the object ids of the currently selected objects
27
31
  - [Internal] `VisibleObjectsCache` was revamped in the following ways:
28
32
  - Renamed `RelevantMeshnodesSet`;
29
33
  - Uses a spatial index (`KDTree`) to store the meshnodes instead of arrays;