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 );
|
||||
|
||||
NETINFO_ITEM* net = GetBoard()->FindNet( m_lastNetName );
|
||||
PNS::LINE straightLine( *pnsLine, straightChain );
|
||||
|
||||
if( aPrimary )
|
||||
straightLine.SetNet( net );
|
||||
else
|
||||
straightLine.SetNet( GetBoard()->DpCoupledNet( net ) );
|
||||
PNS::LINE straightLine( *pnsLine, straightChain );
|
||||
|
||||
branch->Add( straightLine, false );
|
||||
|
||||
|
|
Loading…
Reference in New Issue