pcbnew: Clear unused code
This commit is contained in:
parent
cf04d341ec
commit
e2122db587
|
@ -668,7 +668,6 @@ void CN_CONNECTIVITY_ALGO::propagateConnections()
|
||||||
|
|
||||||
void CN_CONNECTIVITY_ALGO::PropagateNets()
|
void CN_CONNECTIVITY_ALGO::PropagateNets()
|
||||||
{
|
{
|
||||||
//searchConnections( false );
|
|
||||||
m_connClusters = SearchClusters( CSM_PROPAGATE );
|
m_connClusters = SearchClusters( CSM_PROPAGATE );
|
||||||
propagateConnections();
|
propagateConnections();
|
||||||
}
|
}
|
||||||
|
|
|
@ -964,9 +964,6 @@ void SELECTION_TOOL::selectAllItemsConnectedToItem( BOARD_CONNECTED_ITEM& aSourc
|
||||||
constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_VIA_T, EOT };
|
constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_VIA_T, EOT };
|
||||||
auto connectivity = board()->GetConnectivity();
|
auto connectivity = board()->GetConnectivity();
|
||||||
|
|
||||||
std::vector<BOARD_CONNECTED_ITEM*> items;
|
|
||||||
items = connectivity->GetConnectedItems( &aSourceItem, types );
|
|
||||||
|
|
||||||
for( auto item : connectivity->GetConnectedItems( &aSourceItem, types ) )
|
for( auto item : connectivity->GetConnectedItems( &aSourceItem, types ) )
|
||||||
select( item );
|
select( item );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue