From dcf4d7caa763c8c1295b067273464eb6bdb22695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20W=C5=82ostowski?= Date: Tue, 8 May 2018 15:17:33 +0200 Subject: [PATCH] router: allow placing via without track in shove mode Fixes: lp:1769782 * https://bugs.launchpad.net/kicad/+bug/1769782 --- pcbnew/router/pns_shove.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_shove.cpp b/pcbnew/router/pns_shove.cpp index a61bcabba9..7cc361d5f7 100644 --- a/pcbnew/router/pns_shove.cpp +++ b/pcbnew/router/pns_shove.cpp @@ -887,7 +887,7 @@ void SHOVE::unwindStack( ITEM* aItem ) bool SHOVE::pushLine( const LINE& aL, bool aKeepCurrentOnTop ) { - if( !aL.IsLinkedChecked() ) + if( !aL.IsLinkedChecked() && aL.SegmentCount() != 0 ) return false; if( aKeepCurrentOnTop && m_lineStack.size() > 0)