Ratsnest is recalculated after global deletion of tracks and after importing a netlist.

This commit is contained in:
Maciej Suminski 2014-07-09 15:10:32 +02:00
parent 7614b93bf8
commit 778011a893
2 changed files with 5 additions and 0 deletions

View File

@ -254,6 +254,9 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( )
if( gen_rastnest )
m_Parent->Compile_Ratsnest( NULL, true );
if( m_Parent->IsGalCanvasActive() )
pcb->GetRatsnest()->Recalculate();
}
m_Parent->GetCanvas()->Refresh();

View File

@ -1009,6 +1009,8 @@ void RN_DATA::ProcessBoard()
if( netCode > 0 )
m_nets[netCode].AddItem( zone );
}
Recalculate();
}