diff --git a/pcbnew/board_items_to_polygon_shape_transform.cpp b/pcbnew/board_items_to_polygon_shape_transform.cpp index 4b4752752c..b4a97bb42f 100644 --- a/pcbnew/board_items_to_polygon_shape_transform.cpp +++ b/pcbnew/board_items_to_polygon_shape_transform.cpp @@ -358,9 +358,6 @@ void DRAWSEGMENT::TransformShapeWithClearanceToPolygon( SHAPE_POLY_SET& aCornerB int aClearanceValue, int aError, bool ignoreLineWidth ) const { - if( aLayer != m_Layer ) - return; - int width = ignoreLineWidth ? 0 : m_Width; width += 2 * aClearanceValue;