From feda03f69bb58599441510b91a8a3fa5818c31ed Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 5 Jan 2021 17:26:00 -0500 Subject: [PATCH] PNS: Fix arc orientation when assembling lines with backwards arcs --- pcbnew/router/pns_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_node.cpp b/pcbnew/router/pns_node.cpp index 09d4dac373..39c403c66c 100644 --- a/pcbnew/router/pns_node.cpp +++ b/pcbnew/router/pns_node.cpp @@ -940,7 +940,7 @@ const LINE NODE::AssembleLine( LINKED_ITEM* aSeg, int* aOriginSegmentIndex, { const ARC* arc = static_cast( li ); const SHAPE_ARC* sa = static_cast( arc->Shape() ); - pl.Line().Append( *sa ); + pl.Line().Append( p == sa->GetP0() ? *sa : sa->Reversed() ); } pl.Link( li );