build-dxf 0.0.61 → 0.0.62
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 +1 -1
- package/src/build.js +1 -1
package/package.json
CHANGED
package/src/build.js
CHANGED
|
@@ -12890,7 +12890,7 @@ class Scenario {
|
|
|
12890
12890
|
this.texture.colorSpace = THREE.SRGBColorSpace;
|
|
12891
12891
|
this.scene.background = this.texture;
|
|
12892
12892
|
this.scene.environment = this.texture;
|
|
12893
|
-
this.scene.backgroundRotation.x = Math.PI / 2;
|
|
12893
|
+
this.scene?.backgroundRotation && (this.scene.backgroundRotation.x = Math.PI / 2);
|
|
12894
12894
|
this.lines = lines;
|
|
12895
12895
|
if (this.group) {
|
|
12896
12896
|
this.scene.remove(this.group);
|