pcbnew line editor doesn't finish on closed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Undecided
|
Jeff Young |
Bug Description
In 5.1, finishing a line on another line's endpoint (if they were on the same layer) would stop drawing. In the current master, this no longer occurs.
Steps to reproduce:
1) In pcbnew, start the line tool
2) Draw a triangle and ensure that the last vertex ends on the first vertex (notice that there is a circle/cross)
3) At this point, the next line segment should not be drawn
Application: ModEdit
Version: (5.1.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: GCC 8.3.0 with C++ ABI 1013
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: pcbnew |
@Jeff-
This is caused (I think) by the new tool actions handling.
I'm attaching a patch but it would change many things in ways I'm not sure are correct. Can you think of a better way to handle this?