Commit f360d5cc authored by Dick Hollenbeck's avatar Dick Hollenbeck

got bit by a bug in freerouter

parent c38b2519
......@@ -444,10 +444,10 @@ PADSTACK* SPECCTRA_DB::makePADSTACK( BOARD* aBoard, D_PAD* aPad )
double ddy = scale( aPad->m_DeltaSize.y ) / 2.0;
// see class_pad_draw_functions.cpp which draws the trapezoid pad
POINT lowerLeft( -dx - ddy, -dy + ddx );
POINT upperLeft( -dx + ddy, +dy - ddx );
POINT upperRight( +dx - ddy, +dy + ddx );
POINT lowerRight( +dx + ddy, -dy - ddx );
POINT lowerLeft( -dx - ddy, -dy - ddx );
POINT upperLeft( -dx + ddy, +dy + ddx );
POINT upperRight( +dx - ddy, +dy - ddx );
POINT lowerRight( +dx + ddy, -dy + ddx );
lowerLeft += dsnOffset;
upperLeft += dsnOffset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment