Fixed ratsnest update after removing items.
This commit is contained in:
parent
85365b0dbc
commit
e6fd3934d1
|
@ -395,10 +395,7 @@ int EDIT_TOOL::Remove( TOOL_EVENT& aEvent )
|
||||||
remove( item );
|
remove( item );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rebuild list of pads and nets if necessary
|
getModel<BOARD>( PCB_T )->GetRatsnest()->Recalculate();
|
||||||
BOARD* board = getModel<BOARD>( PCB_T );
|
|
||||||
if( !( board->m_Status_Pcb & NET_CODES_OK ) )
|
|
||||||
board->BuildListOfNets();
|
|
||||||
|
|
||||||
setTransitions();
|
setTransitions();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue