Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubnavratil committed Sep 13, 2019
1 parent 2954c4d commit 73afd2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/entities/lwpolyline.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ function parseLWPolylineVertices(n, scanner) {
break;
default:
// if we do not hit known code return vertices. Code might belong to entity
scanner.rewind();
if (vertexIsStarted) {
vertices.push(vertex);
}
Expand All @@ -104,4 +105,4 @@ function parseLWPolylineVertices(n, scanner) {
}
scanner.rewind();
return vertices;
};
};

0 comments on commit 73afd2c

Please sign in to comment.