build-dxf 0.1.161 → 0.1.162
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 -2
package/package.json
CHANGED
package/src/build.js
CHANGED
|
@@ -23440,9 +23440,7 @@ class Dxf extends Component {
|
|
|
23440
23440
|
lines = lines.filter((line) => !line.userData.isDoor);
|
|
23441
23441
|
lines = BuildGroup.doubleWall(lines);
|
|
23442
23442
|
lines.push(...doors);
|
|
23443
|
-
TEST = true;
|
|
23444
23443
|
this.cad = new CAD().usePlugin(new DxfDataPlugin(lines)).usePlugin(new DxfDrawPlugin());
|
|
23445
|
-
TEST = false;
|
|
23446
23444
|
this.dispatchEvent({
|
|
23447
23445
|
type: "cadChange",
|
|
23448
23446
|
cad: this.cad,
|
|
@@ -24032,6 +24030,7 @@ if (typeof window !== "undefined") {
|
|
|
24032
24030
|
}
|
|
24033
24031
|
if (typeof globalThis !== "undefined") {
|
|
24034
24032
|
globalThis.Log = Log;
|
|
24033
|
+
globalThis.TEST = false;
|
|
24035
24034
|
}
|
|
24036
24035
|
async function createEditor(dom, camera, orbitControls = false, viewPermission) {
|
|
24037
24036
|
const mp = await Promise.resolve().then(() => index);
|