Fix some out-of-order parameters that compiler didn't catch.
Fixes https://gitlab.com/kicad/code/kicad/issues/5363
This commit is contained in:
parent
beb370a3e5
commit
b65bb8e7a8
|
@ -547,9 +547,8 @@ void BOARD_ADAPTER::createLayers( REPORTER* aStatusReporter )
|
||||||
{
|
{
|
||||||
// Note: NPTH pads are not drawn on copper layers when the pad
|
// Note: NPTH pads are not drawn on copper layers when the pad
|
||||||
// has same shape as its hole
|
// has same shape as its hole
|
||||||
module->TransformPadsShapesWithClearanceToPolygon( curr_layer_id,
|
module->TransformPadsShapesWithClearanceToPolygon( curr_layer_id, *layerPoly,
|
||||||
*layerPoly,
|
0, ARC_HIGH_DEF, true );
|
||||||
0, true );
|
|
||||||
|
|
||||||
transformGraphicModuleEdgeToPolygonSet( module, curr_layer_id, *layerPoly );
|
transformGraphicModuleEdgeToPolygonSet( module, curr_layer_id, *layerPoly );
|
||||||
}
|
}
|
||||||
|
@ -921,8 +920,7 @@ void BOARD_ADAPTER::createLayers( REPORTER* aStatusReporter )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
module->TransformPadsShapesWithClearanceToPolygon( curr_layer_id, *layerPoly, 0,
|
module->TransformPadsShapesWithClearanceToPolygon( curr_layer_id, *layerPoly, 0 );
|
||||||
false );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// On tech layers, use a poor circle approximation, only for texts (stroke font)
|
// On tech layers, use a poor circle approximation, only for texts (stroke font)
|
||||||
|
|
Loading…
Reference in New Issue