From 8e98008f6732b1b59a8a6f1b3c723fdbb702aff8 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 7 Jul 2015 18:36:43 +0200 Subject: [PATCH] PNS: prevent placing multiple vias in the same spot. --- pcbnew/router/pns_line_placer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/router/pns_line_placer.cpp b/pcbnew/router/pns_line_placer.cpp index f51f13fb79..796d39f5bd 100644 --- a/pcbnew/router/pns_line_placer.cpp +++ b/pcbnew/router/pns_line_placer.cpp @@ -769,6 +769,8 @@ void PNS_LINE_PLACER::initPlacement( bool aSplitSeg ) m_tail.SetLayer( m_currentLayer ); m_head.SetWidth( m_sizes.TrackWidth() ); m_tail.SetWidth( m_sizes.TrackWidth() ); + m_head.RemoveVia(); + m_tail.RemoveVia(); m_p_start = m_currentStart; m_direction = m_initial_direction;