Fixed ratsnest update after removing items.
This commit is contained in:
parent
c5e84fe49a
commit
1a3f7989df
|
@ -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