PNS: clear via when fixing route
When fixing the route, we need to clear the via to avoid re-placing it on each future click. Fixes #3966 | https://gitlab.com/kicad/code/kicad/issues/3966
This commit is contained in:
parent
386147628e
commit
d6706c257c
|
@ -1188,6 +1188,8 @@ bool LINE_PLACER::FixRoute( const VECTOR2I& aP, ITEM* aEndItem, bool aForceFinis
|
|||
|
||||
m_head.Line().Clear();
|
||||
m_tail.Line().Clear();
|
||||
m_head.RemoveVia();
|
||||
m_tail.RemoveVia();
|
||||
m_currentNode = m_lastNode;
|
||||
m_lastNode = m_lastNode->Branch();
|
||||
|
||||
|
|
Loading…
Reference in New Issue