Assert error after right-clicking while drawing Rule Area in PCB Editor
Description
Steps to reproduce
- Select "Rule Area" from right Menu
- Start drawing the rule area
- Right click to open context menu
- Kicad stops with wxAssert error
- Context menu does not open
KiCad Version
Application: KiCad PCB Editor
Version: (5.99.0-10271-gedb2136a0d), debug build
Libraries:
wxWidgets 3.1.4
libcurl/7.74.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Apr 19 2021 06:59:36
wxWidgets: 3.1.4 (wchar_t,STL containers)
Boost: 1.75.0
OCC: 7.4.0
Curl: 7.74.0-DEV
ngspice: 32
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_SCRIPTING=OFF
KICAD_SCRIPTING_MODULES=OFF
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=OFF
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE=OFF