PNS: Fix arc orientation when assembling lines with backwards arcs

This commit is contained in:
Jon Evans 2021-01-05 17:26:00 -05:00
parent 7431d5c985
commit feda03f69b
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ const LINE NODE::AssembleLine( LINKED_ITEM* aSeg, int* aOriginSegmentIndex,
{
const ARC* arc = static_cast<const ARC*>( li );
const SHAPE_ARC* sa = static_cast<const SHAPE_ARC*>( arc->Shape() );
pl.Line().Append( *sa );
pl.Line().Append( p == sa->GetP0() ? *sa : sa->Reversed() );
}
pl.Link( li );