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:
parent
9c64c9af5d
commit
bd1fb845b1
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue