Browse Source

PNS: Don't run fanout cleanup when manually forced

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8724
6.0.7
Jon Evans 5 years ago
parent
commit
00f1b609c4
  1. 4
      pcbnew/router/pns_line_placer.cpp

4
pcbnew/router/pns_line_placer.cpp

@ -828,7 +828,9 @@ bool LINE_PLACER::optimizeTailHeadTransition()
PNS_DBG( Dbg(), Message, "optimize HT" );
if( OPTIMIZER::Optimize( &linetmp, OPTIMIZER::FANOUT_CLEANUP, m_currentNode ) )
// NOTE: FANOUT_CLEANUP can override posture setting at the moment
if( !m_mouseTrailTracer.IsManuallyForced() &&
OPTIMIZER::Optimize( &linetmp, OPTIMIZER::FANOUT_CLEANUP, m_currentNode ) )
{
if( linetmp.SegmentCount() < 1 )
return false;

Loading…
Cancel
Save