[PCBNew] [DRC] Thermal relief spoke count incorrect and produced error message
Description
Under certain circumstances the spoke count seems to be wrong and thus generates an error message with DRC.
Steps to reproduce
- Cannot reproduce with a fresh project.
- See attached minimum (not) working example.
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 7.0.6+dfsg-1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1 OpenSSL/3.0.9 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3
Platform: Debian GNU/Linux 12 (bookworm), 64 bit, Little endian, wxGTK, lightdm-xsession, x11
Build Info:
Date: Jul 9 2023 06:35:31
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 40
Compiler: GCC 12.3.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON