build-dxf 0.0.28 → 0.0.29
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
|
@@ -1837,7 +1837,7 @@ class z extends V {
|
|
|
1837
1837
|
*/
|
|
1838
1838
|
lineDataToOriginalData(t, e) {
|
|
1839
1839
|
return e || (e = new T(C.fromByLineSegment(...t)), t.forEach((n) => e?.insert({ line: n, userData: void 0 }))), t.map((n) => {
|
|
1840
|
-
const i = n.userData, s = i.drawWindow, r = e.queryLineSegment(n).filter((o) => o.line !== n && !o.userData?.isDoor).map((o) => ({ index:
|
|
1840
|
+
const i = n.userData, s = i.drawWindow, r = e.queryLineSegment(n).filter((o) => o.line !== n && !o.userData?.isDoor).map((o) => ({ index: t.indexOf(o.line) }));
|
|
1841
1841
|
return {
|
|
1842
1842
|
start: n.start.toJson(this.originalZAverage),
|
|
1843
1843
|
end: n.end.toJson(this.originalZAverage),
|