From 95087c6de5a538028a86e14ab51d89e0f7521c2e Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 6 Dec 2021 15:51:10 +0000 Subject: [PATCH] Fix clearance outlines for router head. Fixes https://gitlab.com/kicad/code/kicad/issues/9885 --- pcbnew/router/pns_kicad_iface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/router/pns_kicad_iface.cpp b/pcbnew/router/pns_kicad_iface.cpp index 701d1196b8..4ef3bc5638 100644 --- a/pcbnew/router/pns_kicad_iface.cpp +++ b/pcbnew/router/pns_kicad_iface.cpp @@ -1416,7 +1416,8 @@ void PNS_KICAD_IFACE::DisplayItem( const PNS::ITEM* aItem, int aClearance, bool ROUTER_PREVIEW_ITEM* pitem = new ROUTER_PREVIEW_ITEM( aItem, m_view ); - static int tracks = PNS::ITEM::SEGMENT_T | PNS::ITEM::ARC_T; + // Note: SEGMENT_T is used for placed tracks; LINE_T is used for the routing head + static int tracks = PNS::ITEM::SEGMENT_T | PNS::ITEM::ARC_T | PNS::ITEM::LINE_T; static int tracksOrVias = tracks | PNS::ITEM::VIA_T; if( aClearance >= 0 )