Improved ratsnest updates performance during routing
This commit is contained in:
parent
eea41dbc6f
commit
c01c25b258
|
@ -766,11 +766,16 @@ void CN_CONNECTIVITY_ALGO::propagateConnections()
|
|||
{
|
||||
if( item->CanChangeNet() )
|
||||
{
|
||||
item->Parent()->SetNetCode( cluster->OriginNet() );
|
||||
if( item->Parent()->GetNetCode() != cluster->OriginNet() )
|
||||
{
|
||||
MarkNetAsDirty( item->Parent()->GetNetCode() );
|
||||
MarkNetAsDirty( cluster->OriginNet() );
|
||||
|
||||
item->Parent()->SetNetCode( cluster->OriginNet() );
|
||||
n_changed++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( n_changed )
|
||||
wxLogTrace( "CN", "Cluster %p : net : %d %s\n", cluster.get(),
|
||||
|
|
Loading…
Reference in New Issue