specctra_export: fix unit conv PCB iu -> DSN

From Master branch, commit 28028c941e
Fixes #14656
https://gitlab.com/kicad/code/kicad/issues/14656
This commit is contained in:
jean-pierre charras 2023-04-01 17:28:24 +02:00
parent 878f136951
commit d0069e0e1d
1 changed files with 2 additions and 2 deletions

View File

@ -621,11 +621,11 @@ IMAGE* SPECCTRA_DB::makeIMAGE( BOARD* aBoard, FOOTPRINT* aFootprint )
double diameter = scale( pad->GetDrillSize().x );
POINT vertex = mapPt( pad->GetPos0() );
diameter += aBoard->GetDesignSettings().m_HoleClearance * 2;
diameter += scale( aBoard->GetDesignSettings().m_HoleClearance * 2 );
int layerCount = aBoard->GetCopperLayerCount();
for( int layer=0; layer<layerCount; ++layer )
for( int layer=0; layer<layerCount; ++layer )
{
KEEPOUT* keepout = new KEEPOUT( image, T_keepout );