kicad/pcbnew/connectivity
Jeff Young 437d2c4589 Overhaul of remove-unconnected's zone filling and drawing strategies.
1) The highest priority zone that a via/pad collides with "owns" its
connectivity state.  Once set, lower priority zones cannot change it --
and in fact, if they would have connected to it are forced not to.

2) The connectivity state goes with the zone fill state, and therefore
must be saved in the file.

3) Display of remove-unconnected's pads is no longer done in GetViewLOD()
(which isn't called for selected items), and is instead done in PCB_PAINTER.
This allows us to draw the full pad in outline mode when a via/pad is
selected which would otherwise only show the hole.

4) Note that in some cases this will still generate DRC errors -- in
particular when a via nearly collides with a higher priority zone it
won't get "owned" by that zone and may therefore have insufficient
clearance if said zone concludes it's unconnected and a subsequent
(lower priority) zone connects to it (causing it to now become flashed).

Fixes https://gitlab.com/kicad/code/kicad/issues/11299
2022-10-18 13:05:42 +01:00
..
CMakeLists.txt ADDED: Threadpool 2022-06-24 22:59:24 +00:00
connectivity_algo.cpp Don't connect disparate nets 2022-10-11 15:03:51 -07:00
connectivity_algo.h PCB Actions: Grab Unconnected 2022-09-26 16:17:41 -04:00
connectivity_data.cpp Overhaul of remove-unconnected's zone filling and drawing strategies. 2022-10-18 13:05:42 +01:00
connectivity_data.h Overhaul of remove-unconnected's zone filling and drawing strategies. 2022-10-18 13:05:42 +01:00
connectivity_items.cpp Clean up some auto usage 2022-08-15 11:29:45 -07:00
connectivity_items.h Optimize ratsnest line endings for zones. 2022-09-30 19:04:54 +00:00
connectivity_rtree.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
from_to_cache.cpp Clean up some auto usage 2022-08-15 11:29:45 -07:00
from_to_cache.h Auto reduction and std::shared_ptr cover types reduction. 2022-02-13 12:04:03 +00:00