PNS: Prevent wrong clearance being cached for new diff pairs

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8377
This commit is contained in:
Jon Evans 2021-05-29 13:31:17 -04:00
parent ae84696341
commit 28f17c3ae6
1 changed files with 1 additions and 0 deletions

View File

@ -586,6 +586,7 @@ bool DIFF_PAIR_PLACER::Start( const VECTOR2I& aP, ITEM* aStartItem )
m_chainedPlacement = false;
m_currentTraceOk = false;
m_currentTrace = DIFF_PAIR();
m_currentTrace.SetNets( m_netP, m_netN );
initPlacement();