@inweb/viewer-visualize 26.8.1 → 26.8.3

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.
@@ -19529,7 +19529,7 @@
19529
19529
  * `use-credentials`.
19530
19530
  */
19531
19531
  configure(params) {
19532
- this._visualizeJsUrl = params.visualizeJsUrl || "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/master/Visualize.js";
19532
+ this._visualizeJsUrl = params.visualizeJsUrl || "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/26.8/Visualize.js";
19533
19533
  this._crossOrigin = params.crossOrigin;
19534
19534
  return this;
19535
19535
  }
@@ -19792,8 +19792,9 @@
19792
19792
  if (options.cameraAnimation !== visViewer.getEnableAnimation()) {
19793
19793
  visViewer.setEnableAnimation(options.cameraAnimation);
19794
19794
  }
19795
- if (options.antialiasing !== visViewer.fxaaAntiAliasing3d) {
19796
- visViewer.fxaaAntiAliasing3d = options.antialiasing;
19795
+ const antialiasing = options.antialiasing === true || options.antialiasing === "fxaa";
19796
+ if (antialiasing !== visViewer.fxaaAntiAliasing3d) {
19797
+ visViewer.fxaaAntiAliasing3d = antialiasing;
19797
19798
  visViewer.fxaaQuality = 5;
19798
19799
  }
19799
19800
  if (options.shadows !== visViewer.shadows) {