Browse Source
Replace GetConnectedItems() type list with an EXCLUDE_ZONES flag.
Replace GetConnectedItems() type list with an EXCLUDE_ZONES flag.
The type list kept atrophying when various new items were added (arcs, shapes). And god knows what the purpose of putting PCB_FOOTPRINT_T in some of them was. As far as I can tell a CN_ITEMs parent can never be a footprint. (Also moves IGNORE_NETS to a flag so that we don't end up with two booleans and the potential to have them out-of-order.)revert-0c36e162
9 changed files with 26 additions and 67 deletions
-
7pcbnew/board.cpp
-
34pcbnew/connectivity/connectivity_algo.cpp
-
3pcbnew/connectivity/connectivity_algo.h
-
20pcbnew/connectivity/connectivity_data.cpp
-
7pcbnew/connectivity/connectivity_data.h
-
4pcbnew/connectivity/from_to_cache.cpp
-
8pcbnew/tools/multichannel_tool.cpp
-
2pcbnew/tools/pcb_selection_tool.cpp
-
8pcbnew/tracks_cleaner.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue