router: fix regression in post-shove optimization
Note to self: we keep track of the formerly pushed vias in the line stack, but pruning one from the optimizer queue should not prune the lines attached to it.
This commit is contained in:
@@ -1432,7 +1432,7 @@ void SHOVE::unwindLineStack( const LINKED_ITEM* aSeg )
|
||||
|
||||
for( std::vector<LINE>::iterator i = m_optimizerQueue.begin(); i != m_optimizerQueue.end() ; )
|
||||
{
|
||||
if( i->ContainsLink( aSeg ) )
|
||||
if( i->ContainsLink( aSeg ) && !aSeg->OfKind( ITEM::VIA_T ) )
|
||||
i = m_optimizerQueue.erase( i );
|
||||
else
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user