router: Fix up single meander side switching.

This commit is contained in:
Alex 2022-12-01 18:37:05 +03:00
parent d7368588db
commit 1aa05c0e10
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ void MEANDERED_LINE::MeanderSegment( const SEG& aBase, bool aSide, int aBaseInde
started = false; started = false;
} }
if( !singleSided ) if( fail && !singleSided )
{ {
if( m.Fit( MT_SINGLE, aBase, m_last, !side ) ) if( m.Fit( MT_SINGLE, aBase, m_last, !side ) )
{ {