Run fix_route until routing ended in EndTrack
Should fix Bug 1424003, by making making sure the routing is completed when endtrack is triggered.
This commit is contained in:
parent
6c5b68a117
commit
31a6a4adf0
|
@ -602,8 +602,11 @@ void ROUTER_TOOL::performRouting()
|
|||
}
|
||||
else if( evt->IsAction( &ACT_EndTrack ) )
|
||||
{
|
||||
if( m_router->FixRoute( m_endSnapPoint, m_endItem ) )
|
||||
break;
|
||||
bool still_routing = true;
|
||||
while( still_routing ) {
|
||||
still_routing = m_router->FixRoute( m_endSnapPoint, m_endItem );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
handleCommonEvents( *evt );
|
||||
|
|
Loading…
Reference in New Issue