ZONE_FILLER.Fill ignoring user choice
Description
I use ZONE_FILLER.Fill in my KiCAD plugin which gives me a modal asking the user if he wants to fill the zones.
filler = ZONE_FILLER(self.board)
zones = self.board.Zones()
filler.Fill(zones, True)
But if the user clicks the "Continue without Refill" option, the zones are filled anyway.
Steps to reproduce
- Use my plugin with a unfilled zone
- Click Continue without Refill in the modal dialg
- See that the zones are filled anyway
KiCad Version
Application: KiCad Leiterplatteneditor (64-bit)
Version: (6.0.9), release build
Libraries:
wxWidgets 3.2.1
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Oct 29 2022 23:44:28
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON