router: rhMarkObstacles should return a correct error status

Long story short: a few days ago I fixed error handling in routeStep(), so it actually started to recognize the wrong error status returned
by rhMarkObstacles() and think that the trace is always incorrect.

fixes: https://gitlab.com/kicad/code/kicad/-/issues/8557
This commit is contained in:
Tomasz Wlostowski 2021-06-04 23:57:07 +02:00
parent f57ef55cd6
commit ab04e24f9a
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ bool LINE_PLACER::rhMarkObstacles( const VECTOR2I& aP, LINE& aNewHead )
aNewHead = m_head;
return static_cast<bool>( m_currentNode->CheckColliding( &m_head ) );
return true;
}