Skip to content

Commit

Permalink
fix: hatch with polyline points only returning y coordinate (#132)
Browse files Browse the repository at this point in the history
Fixes #130
  • Loading branch information
stevage committed Jun 8, 2023
1 parent 72302c5 commit 948dbbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers/entity/hatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export const process = (tuples) => {
{
if (status === 'IDLE') entity.elevation.x = parseFloat(value)
else if (status === 'POLYLINE') {
polyPoint = Object.create({
polyPoint = {
x: parseFloat(value),
y: 0,
bulge: 0,
})
}
loop.entities[0].points.push(polyPoint)
} else if (status === 'SEED') {
if (!seed) {
Expand Down

0 comments on commit 948dbbc

Please sign in to comment.