From 5a4e528d6a806305d4c825920589053e78386019 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Tue, 23 Jun 2015 11:41:53 +0200 Subject: [PATCH] Correct PNS boundaries for offset pads. --- pcbnew/router/pns_router.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_router.cpp b/pcbnew/router/pns_router.cpp index a8bde81c21..1603bd7d9a 100644 --- a/pcbnew/router/pns_router.cpp +++ b/pcbnew/router/pns_router.cpp @@ -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 );