From 5ba215c8eac1d3c76f822a08243e466baa9c16df Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 5 Dec 2021 13:41:39 -0500 Subject: [PATCH] Use actual width when previewing PNS lines --- pcbnew/router/router_preview_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/router_preview_item.cpp b/pcbnew/router/router_preview_item.cpp index 330b75fe27..403de98342 100644 --- a/pcbnew/router/router_preview_item.cpp +++ b/pcbnew/router/router_preview_item.cpp @@ -224,7 +224,7 @@ void ROUTER_PREVIEW_ITEM::drawShape( const SHAPE* aShape, KIGFX::GAL* gal ) cons case SH_LINE_CHAIN: { const SHAPE_LINE_CHAIN* l = (const SHAPE_LINE_CHAIN*) aShape; - const int w = l->Width(); + const int w = m_width; if( m_showClearance && m_clearance > 0 ) {