Skip to content

Commit

Permalink
seqend
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Sep 19, 2023
1 parent 68c74d4 commit 750695a
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,15 @@ private void writePolyline(Polyline polyline)

this._writer.Write(210, polyline.Normal, map);

foreach (Vertex v in polyline.Vertices)
if (polyline.Vertices.Any())
{
this.writeEntity(v);
}
foreach (Vertex v in polyline.Vertices)
{
this.writeEntity(v);
}

this.writeSeqend(polyline.Vertices.Seqend);
this.writeSeqend(polyline.Vertices.Seqend);
}
}

private void writeSeqend(Seqend seqend)
Expand Down

0 comments on commit 750695a

Please sign in to comment.