Fix clearance outlines for router head.

Fixes https://gitlab.com/kicad/code/kicad/issues/9885
This commit is contained in:
Jeff Young 2021-12-06 15:51:10 +00:00
parent 8170e2f57c
commit 95087c6de5
1 changed files with 2 additions and 1 deletions

View File

@ -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 ); 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; static int tracksOrVias = tracks | PNS::ITEM::VIA_T;
if( aClearance >= 0 ) if( aClearance >= 0 )