Correct PNS boundaries for offset pads.

This commit is contained in:
Chris Pavlina 2015-06-23 11:41:53 +02:00 committed by Maciej Suminski
parent 3160553d31
commit 5a4e528d6a
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ PNS_ITEM* PNS_ROUTER::syncPad( D_PAD* aPad )
solid->SetNet( aPad->GetNetCode() );
solid->SetParent( aPad );
wxPoint wx_c = aPad->GetPosition();
wxPoint wx_c = aPad->ShapePos();
wxSize wx_sz = aPad->GetSize();
VECTOR2I c( wx_c.x, wx_c.y );