PNS: clear leftover vias from previous trace in DP placer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9283
This commit is contained in:
parent
e9661161d2
commit
4a9b3d9673
|
@ -693,6 +693,10 @@ bool DIFF_PAIR_PLACER::routeHead( const VECTOR2I& aP )
|
||||||
m_currentTrace.AppendVias ( makeVia( m_currentTrace.CP().CPoint( -1 ), m_netP ),
|
m_currentTrace.AppendVias ( makeVia( m_currentTrace.CP().CPoint( -1 ), m_netP ),
|
||||||
makeVia( m_currentTrace.CN().CPoint( -1 ), m_netN ) );
|
makeVia( m_currentTrace.CN().CPoint( -1 ), m_netN ) );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_currentTrace.RemoveVias();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue