[PCB Editor] Move Corner To... does not use defined grid origin
Description
In the PCB Editor, when a grid origin is set and you are trying to move the positions of the corners or midpoints of fill zone lines using "Move Corner To...", the dialog box doesn't use coordinates relative to the configured grid origin point. It uses the default global origin point instead.
It should be using the grid origin point as its reference origin.
Steps to reproduce
- Preferences -> Preferences -> PCB Editor -> Origins & Axes -> Display Origin = Grid Origin
- Place -> Grid Origin (Place anywhere other than the original default origin.)
- Place -> Add Filled Zone (Draw a rectangle somewhere.)
- Right click on one of the corner points of the fill zone polygon -> Shape Modification -> Move Corner To...
- Enter coordinates based off the grid origin placed in step number 1.
- Click OK and noticed that the coordinates used are not based on the origin placed in step 1.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 8.0.4, release build
Libraries:
wxWidgets 3.2.5
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce GTX 960/PCIe/SSE2, 4.6.0 NVIDIA 536.23
Build Info:
Date: Jul 17 2024 03:26:47
wxWidgets: 3.2.5 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.8.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1939 without C++ ABI
Build settings: