Add teardrops produces odd result
Description
While testing 6.99 with an old design, it was noted that "Add teardrops" would create a very large polygon from one specific pad. The design was stripped back to the minimum reproducible file.
Steps to reproduce
- Open attached pcb file
- click Tools -> Add Teardrops..
KiCad Version
Application: KiCad
Version: (6.99.0-4486-g96fe93618e-dirty), release build
Libraries:
wxWidgets 3.0.5
FreeType 2.12.1
HarfBuzz 5.3.1
FontConfig 2.14.1
libcurl/7.86.0 GnuTLS/3.7.8 (OpenSSL/1.1.1s) zlib/1.2.13 nghttp2/1.51.0
Platform: Linux 6.0.8-gentoo x86_64, 64 bit, Little endian, wxGTK, sway, wayland
Build Info:
Date: Nov 25 2022 22:24:00
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.80.0
OCC: 7.7.0
Curl: 7.86.0
ngspice: 36
Compiler: Clang 15.0.5 with C++ ABI 1002
Build settings:
KICAD_SPICE=ON