@procore/bim-webviewer-sdk 17.6.0-rc.10 → 17.6.0-rc.12

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
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
  - In Firefox, this will prompt the user to allow persistent storage, which, when granted, will increase the amount of disk space made available to the current origin. While this prompt is displayed, the loading screen (enabled with `tools: [Webviewer.tools.LOADING]`) will display a message directing the user to "Allow Persistent Storage".
14
14
  - ([#1404](https://github.com/procore/bim-webviewer/pull/1404)) Logs bootstrapper execution summary at the console with the option `logInitializationTimes=true`
15
15
  - ([#1401](https://github.com/procore/bim-webviewer/pull/1401)) [Internal][QA Ignore] Adds the new `model:hpartition` script for development, along with several plantUML diagrams of the "to be" end state under `docs/diagrams/hierarchicalPartitions/`.
16
+ - ([#1506](https://github.com/procore/bim-webviewer/pull/1506)) Adds a WebViewer option to control the prefetching-vs-progressive loading of partitions for large models.
16
17
 
17
18
  ### Changed
18
19
 
@@ -184,6 +184,7 @@ export declare type FeatureFlags = {
184
184
  * @beta Enables writing mesh data to OPFS for partitioned models, which allows users to use features that use mesh data, notably Point to Point.
185
185
  */
186
186
  enableMeshDataOnOPFS: boolean;
187
+ enableProgressiveLoading: boolean;
187
188
  };
188
189
 
189
190
  declare type File_2 = {
@@ -529,7 +530,8 @@ declare class MeshnodeServices_2 {
529
530
  private meshnodes;
530
531
  protected pwf: PWFV1;
531
532
  protected cachedMeshnodes: Map<number, Meshnode_2>;
532
- constructor(pwfMeshnodes: PWFMeshnode[], pwf: PWFV1);
533
+ protected readonly featureFlags: ValidatedFeatureFlags;
534
+ constructor(pwfMeshnodes: PWFMeshnode[], pwf: PWFV1, featureFlags: ValidatedFeatureFlags);
533
535
  getMeshnodeFromIndex(index: number): Meshnode_2;
534
536
  getMeshnode(offset: number): Meshnode_2;
535
537
  numMeshnodes(): number;