Prefer board's errorMax to a constant.

This commit is contained in:
Jeff Young
2025-06-27 22:59:12 -06:00
parent 98e0a79f05
commit 044ac6e8e5
26 changed files with 183 additions and 233 deletions
+1 -1
View File
@@ -1103,7 +1103,7 @@ HANDLER_RESULT<PadShapeAsPolygonResponse> API_HANDLER_PCB::handleGetPadShapeAsPo
PAD* pad = static_cast<PAD*>( *optPad );
SHAPE_POLY_SET poly;
pad->TransformShapeToPolygon( poly, pad->Padstack().EffectiveLayerFor( layer ), 0,
ARC_HIGH_DEF, ERROR_INSIDE );
pad->GetMaxError(), ERROR_INSIDE );
types::PolygonWithHoles* polyMsg = response.mutable_polygons()->Add();
PackPolyLine( *polyMsg->mutable_outline(), poly.COutline( 0 ) );