Last fix was too aggressive.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16362
This commit is contained in:
parent
ec7e3c5bd6
commit
a0274a8463
|
@ -1158,13 +1158,7 @@ bool PCB_TUNING_PATTERN::resetToBaseline( PNS::ROUTER* aRouter, int aLayer,
|
||||||
|
|
||||||
branch->Remove( *pnsLine );
|
branch->Remove( *pnsLine );
|
||||||
|
|
||||||
NETINFO_ITEM* net = GetBoard()->FindNet( m_lastNetName );
|
PNS::LINE straightLine( *pnsLine, straightChain );
|
||||||
PNS::LINE straightLine( *pnsLine, straightChain );
|
|
||||||
|
|
||||||
if( aPrimary )
|
|
||||||
straightLine.SetNet( net );
|
|
||||||
else
|
|
||||||
straightLine.SetNet( GetBoard()->DpCoupledNet( net ) );
|
|
||||||
|
|
||||||
branch->Add( straightLine, false );
|
branch->Add( straightLine, false );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue