@archvisioninc/canvas 2.8.1 → 2.8.2

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.
@@ -622,8 +622,8 @@ export const takePreviewScreenshots = () => {
622
622
  const axesVisible = xAxisMesh?.isVisible;
623
623
  const skyBoxVisible = hdrSkyBox?.isVisible;
624
624
  const frameVisible = outerFrame?.isVisible;
625
- const groundVisible = ground.isVisible;
626
- const mirrorGroundVisible = mirrorGround.isVisible;
625
+ const groundVisible = ground?.isVisible;
626
+ const mirrorGroundVisible = mirrorGround?.isVisible;
627
627
  const {
628
628
  positionGizmoEnabled,
629
629
  rotationGizmoEnabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archvisioninc/canvas",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "private": false,
5
5
  "main": "dist/Canvas.js",
6
6
  "module": "dist/Canvas.js",
@@ -686,8 +686,8 @@ export const takePreviewScreenshots = () => {
686
686
  const axesVisible = xAxisMesh?.isVisible;
687
687
  const skyBoxVisible = hdrSkyBox?.isVisible;
688
688
  const frameVisible = outerFrame?.isVisible;
689
- const groundVisible = ground.isVisible;
690
- const mirrorGroundVisible = mirrorGround.isVisible;
689
+ const groundVisible = ground?.isVisible;
690
+ const mirrorGroundVisible = mirrorGround?.isVisible;
691
691
  const {
692
692
  positionGizmoEnabled,
693
693
  rotationGizmoEnabled,