Browse Source

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
pull/16/head
Seth Hillbrand 6 years ago
parent
commit
0417a6b409
  1. 1
      pcbnew/router/pns_line_placer.cpp

1
pcbnew/router/pns_line_placer.cpp

@ -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…
Cancel
Save