Revert part of 9c8941e04
This accidentally changed gerber plotting behavior, resulting in invalid aperture sizes Fixes https://gitlab.com/kicad/code/kicad/issues/4232
This commit is contained in:
parent
e57c495d05
commit
819f28daf5
|
@ -284,6 +284,9 @@ bool GERBER_PLOTTER::EndPlot()
|
|||
|
||||
void GERBER_PLOTTER::SetCurrentLineWidth( int aWidth, void* aData )
|
||||
{
|
||||
if( aWidth == DO_NOT_SET_LINE_WIDTH )
|
||||
return;
|
||||
|
||||
GBR_METADATA* gbr_metadata = static_cast<GBR_METADATA*>( aData );
|
||||
int aperture_attribute = gbr_metadata ? gbr_metadata->GetApertureAttrib() : 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue