From 149f4f68c99749ad9f9196c855b792534445d94c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 18 May 2018 18:17:23 +0100 Subject: [PATCH] Leave decorations on LAYER_GP_OVERLAY. In particular, don't reset them to 0, which happens to be F_Cu. Fixes: lp:1658775 * https://bugs.launchpad.net/kicad/+bug/1658775 --- pcbnew/router/router_preview_item.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcbnew/router/router_preview_item.cpp b/pcbnew/router/router_preview_item.cpp index b1ba855234..1a8f04afdb 100644 --- a/pcbnew/router/router_preview_item.cpp +++ b/pcbnew/router/router_preview_item.cpp @@ -278,7 +278,6 @@ void ROUTER_PREVIEW_ITEM::ViewDraw( int aLayer, KIGFX::VIEW* aView ) const void ROUTER_PREVIEW_ITEM::Line( const SHAPE_LINE_CHAIN& aLine, int aWidth, int aStyle ) { - m_originLayer = m_layer = 0; m_width = aWidth; m_color = assignColor( aStyle ); m_type = PR_SHAPE;