PNS: Fix missing via on zero-length
The current node needs to be kept for zero-length lines when placing a via. Fixes https://gitlab.com/kicad/code/kicad/issues/4005
This commit is contained in:
parent
3d151ebd71
commit
0417a6b409
|
@ -1107,7 +1107,6 @@ bool LINE_PLACER::FixRoute( const VECTOR2I& aP, ITEM* aEndItem, bool aForceFinis
|
|||
return false;
|
||||
|
||||
m_lastNode->Add( Clone( pl.Via() ) );
|
||||
m_lastNode = NULL;
|
||||
m_currentNode = NULL;
|
||||
|
||||
m_idle = true;
|
||||
|
|
Loading…
Reference in New Issue