PCBNEW: Clearance error between track and hole with unused pad
Description
When routing tracks in walk around mode, and have removed unused pads feature; tracks violate clearance to the hole of the via with the unused pad. It is flagged in DRC, but shouldn't be possible to lay track that violates clearance in walk around mode.
Steps to reproduce
- Tools > Remove Unused Pads > Scope: Vias, Action:Remove unused layers > OK
- 2.Route > Interactive Router Settings > Mode: Walk Around > OK
- 3.Route net on one layer near a via with an unused pad, violation is allowed.
- 4.Run DRC using all existing rules used to route net.
KiCad Version
Version: (6.99.0-1215-gd39127cac7), release build
Libraries:
wxWidgets 3.1.5
FreeType 2.10.4
HarfBuzz 2.8.1
FontConfig 2.13.93
libcurl/7.77.0 OpenSSL/1.1.1k zlib/1.2.11 zstd/1.5.0 libidn2/2.3.1 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0
Platform: Linux 5.12.8-arch1-1 x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Mar 7 2022 21:46:22
wxWidgets: 3.1.5 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.75.0
OCC: 7.5.0
Curl: 7.77.0
ngspice: 34
Compiler: GCC 11.1.0 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON