Ignore netcode when expanding track selections.

Fixes https://gitlab.com/kicad/code/kicad/issues/6529
This commit is contained in:
Jeff Young 2020-11-29 02:17:52 +00:00
parent 9922b7b738
commit 3c25abbf2f
1 changed files with 1 additions and 1 deletions

View File

@ -1010,7 +1010,7 @@ void SELECTION_TOOL::selectConnectedTracks( BOARD_CONNECTED_ITEM& aStartItem,
constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, PCB_PAD_T, EOT }; constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, PCB_PAD_T, EOT };
auto connectivity = board()->GetConnectivity(); auto connectivity = board()->GetConnectivity();
auto connectedItems = connectivity->GetConnectedItems( &aStartItem, types ); auto connectedItems = connectivity->GetConnectedItems( &aStartItem, types, true );
std::map<wxPoint, std::vector<TRACK*>> trackMap; std::map<wxPoint, std::vector<TRACK*>> trackMap;
std::map<wxPoint, VIA*> viaMap; std::map<wxPoint, VIA*> viaMap;