@bimdata/bcf-components 6.2.1-rc.4 → 6.2.1-rc.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/bcf-components",
3
- "version": "6.2.1-rc.4",
3
+ "version": "6.2.1-rc.5",
4
4
  "files": [
5
5
  "src",
6
6
  "vue3-plugin.js"
@@ -350,7 +350,7 @@ export default {
350
350
  .filter(ctx => ctx.viewer && ctx.loadedModels.length > 0)
351
351
  .map(async ctx => {
352
352
  const viewpoint = ctx.getViewpoint();
353
- viewpoint.snapshot = await ctx.viewer.getSnapshot();
353
+ viewpoint.snapshot = await ctx.getSnapshot();
354
354
  viewpointsToCreate.value.push(viewpoint);
355
355
  })
356
356
  );
@@ -154,7 +154,7 @@ export default {
154
154
  unhighlightViewer(context);
155
155
  viewerSelectVisible.value = false;
156
156
  const vpt = context.getViewpoint();
157
- vpt.snapshot = await context.viewer.getSnapshot();
157
+ vpt.snapshot = await context.getSnapshot();
158
158
  viewpoint.value = vpt;
159
159
  };
160
160
 
@@ -219,7 +219,7 @@ export default {
219
219
  unhighlightViewer(context);
220
220
  viewerSelectVisible.value = false;
221
221
  const vpt = context.getViewpoint();
222
- vpt.snapshot = await context.viewer.getSnapshot();
222
+ vpt.snapshot = await context.getSnapshot();
223
223
  viewpoint.value = vpt;
224
224
  };
225
225