sapcebar relative coordinates reset not working with every tool
Description
The relative origin is not set to (0,0) after hitting the spacebar when these tools are selected:
- Run push and shove router (single tracks)
- Add freestanding vias
- Draw a line
- Draw a rectangle
- Draw a circle
With the other tools it works as usual
Steps to reproduce
- Select one of the mentioned tools
- Move the cursor to any place on the layout
- Hit spacebar
KiCad Version
Application: Pcbnew
Version: 5.99.0-unknown-ba8b8d273~104~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 5.4.0-48-generic x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Oct 4 2020 10:17:29
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OCE: 6.9.1
Curl: 7.58.0
ngspice: 32+
Compiler: GCC 7.5.0 with C++ ABI 1011
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
Edited by Michael Kavanagh