Skip to content

Commit 2fcb339

Browse files
committed
Bugfix: Parsing small Landxmls via web workers
1 parent 75121d9 commit 2fcb339

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fluffy-snails-smell.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"landxml": patch
3+
---
4+
5+
Bugfix: Parsing small Landxmls via web workers

src/private/parse-xml.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const parseXML = async (xmlString: string): Promise<ParsedSurface[]> =>
185185
faces,
186186
range: {
187187
start: 0,
188-
end: faces.length - 1,
188+
end: faces.length,
189189
},
190190
})) as [number, number, number][];
191191
}

0 commit comments

Comments
 (0)