From bd1fb845b1e11bc7a84d7cff20adae8353aa070c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 25 Mar 2020 13:04:30 +0100 Subject: [PATCH] 3D viewer: fix a minor issue in solder paste rect pads: the solder paste mask clearance was no taken in account for rect and trap shapes. --- 3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp b/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp index 3d868cf614..9586a0ad2e 100644 --- a/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp +++ b/3d-viewer/3d_canvas/create_3Dgraphic_brd_items.cpp @@ -388,7 +388,7 @@ void CINFO3D_VISU::createNewPadWithClearance( const D_PAD* aPad, // see pcbnew/board_items_to_polygon_shape_transform.cpp wxPoint corners[4]; - aPad->BuildPadPolygon( corners, wxSize( 0, 0), aPad->GetOrientation() ); + aPad->BuildPadPolygon( corners, aClearanceValue, aPad->GetOrientation() ); SFVEC2F corners3DU[4];