Browse Source

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

pull/1/head
Maciej Suminski 11 years ago
parent
commit
778011a893
  1. 3
      pcbnew/dialogs/dialog_global_deletion.cpp
  2. 2
      pcbnew/ratsnest_data.cpp

3
pcbnew/dialogs/dialog_global_deletion.cpp

@ -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();

2
pcbnew/ratsnest_data.cpp

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

Loading…
Cancel
Save