Commit 778011a8 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

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

parent 7614b93b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -1009,6 +1009,8 @@ void RN_DATA::ProcessBoard()
        if( netCode > 0 )
            m_nets[netCode].AddItem( zone );
    }

    Recalculate();
}