Files
Seth Hillbrand a4dd1b3064 Re-evaluate via/pad flashing after zone fill based on actual filled polygons
The first pass before zone filling marks vias/pads as ZLO_FORCE_FLASHED
if they're within the zone outline. However, if the fill doesn't actually
reach the via/pad due to obstacles (tracks blocking the fill), the
annular ring should not appear.

After zone filling is complete, this change adds a second pass that
re-evaluates each via/pad marked as ZLO_FORCE_FLASHED. If no filled zone
polygon actually reaches the via/pad, the override is changed to
ZLO_FORCE_NO_ZONE_CONNECTION.

Also adds a QA test to avoid regressions on issue #12964 which was the
catalyst for the status quo

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22010
2026-01-04 07:42:52 -08:00
..