kicad/pcbnew/plugins
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
..
altium Repoint IU_PER_MILS 2022-09-16 21:09:26 -04:00
cadstar Remove convert_to_biu.h, merge contents to base_units.h 2022-09-16 21:09:28 -04:00
common Rename layer ids file. 2021-07-29 16:03:25 +01:00
eagle Repoint IU_PER_MILS 2022-09-16 21:09:26 -04:00
fabmaster Remove convert_to_biu.h, merge contents to base_units.h 2022-09-16 21:09:28 -04:00
geda Repoint IU_PER_MILS 2022-09-16 21:09:26 -04:00
kicad Overhaul of remove-unconnected's zone filling and drawing strategies. 2022-10-18 13:05:42 +01:00
legacy Remove convert_to_biu.h, merge contents to base_units.h 2022-09-16 21:09:28 -04:00
pcad Remove convert_to_biu.h, merge contents to base_units.h 2022-09-16 21:09:28 -04:00