diff --git a/pcbnew/router/pns_line_placer.cpp b/pcbnew/router/pns_line_placer.cpp index 1f0d005894..99827a52be 100644 --- a/pcbnew/router/pns_line_placer.cpp +++ b/pcbnew/router/pns_line_placer.cpp @@ -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();