Fix: Gerber plot output creates incorrect custom pads when a rectangular anchor pad with x size > y size is used.
Fixes: lp:1738384 https://bugs.launchpad.net/kicad/+bug/1738384
This commit is contained in:
parent
75b21d010b
commit
9ed0f2184b
|
@ -854,7 +854,7 @@ void GERBER_PLOTTER::FlashPadCustom( const wxPoint& aPadPos, const wxSize& aSize
|
|||
// However, because the anchor pad can be circle or rect, we use only
|
||||
// a circle not bigger than the rect.
|
||||
// the main purpose is to print a flashed DCode as pad anchor
|
||||
FlashPadCircle( aPadPos, std::min( aSize.x, aSize.x ), aTraceMode, aData );
|
||||
FlashPadCircle( aPadPos, std::min( aSize.x, aSize.y ), aTraceMode, aData );
|
||||
GBR_METADATA gbr_metadata;
|
||||
|
||||
if( aData )
|
||||
|
|
Loading…
Reference in New Issue