rotate hatched rectangle: crash
Description
rotating a hatched rectangle by 45° produces a crash.
tested only with pcbnew, as FP editor showed a different crash.
Steps to reproduce
- open attached project, open board: symbol_editor_ordering.zip
- select a hatched rectangle
- RMB-click-->context menu-->positioning tools-->move exactly
- 45° for rotation around item anchor
- "OK"-button --> crash
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 9.99.0-376-g7558b49afd, release build
Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) HD Graphics 4000, 4.0.0 - Build 10.18.10.4252
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.11.1-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)