STEP export: build a segment from last point for segment case as well.
https://gitlab.com/kicad/code/kicad/-/issues/16807
This commit is contained in:
parent
b12d0dfd67
commit
3ed196859f
|
@ -806,7 +806,10 @@ bool STEP_PCB_MODEL::MakeShapes( std::vector<TopoDS_Shape>& aShapes, const SHAPE
|
||||||
lastPt = firstPt;
|
lastPt = firstPt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( addSegment( lastPt, seg.B ) )
|
if( lastPt != seg.A )
|
||||||
|
addSegment( lastPt, seg.A );
|
||||||
|
|
||||||
|
if( addSegment( seg.A, seg.B ) )
|
||||||
lastPt = seg.B;
|
lastPt = seg.B;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue