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.
This commit is contained in:
jean-pierre charras 2020-03-25 13:04:30 +01:00
parent 9c64c9af5d
commit bd1fb845b1
1 changed files with 1 additions and 1 deletions

View File

@ -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];