PNS: Don't run fanout cleanup when manually forced
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8724
This commit is contained in:
parent
9975b8fb10
commit
00f1b609c4
|
@ -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…
Reference in New Issue