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,7 +602,10 @@ void ROUTER_TOOL::performRouting()
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &ACT_EndTrack ) )
|
else if( evt->IsAction( &ACT_EndTrack ) )
|
||||||
{
|
{
|
||||||
if( m_router->FixRoute( m_endSnapPoint, m_endItem ) )
|
bool still_routing = true;
|
||||||
|
while( still_routing ) {
|
||||||
|
still_routing = m_router->FixRoute( m_endSnapPoint, m_endItem );
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue