From 707f5cd6e64e33dc5ead0a51b6e4a3f514b1146e Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 28 May 2014 19:21:12 +0200 Subject: [PATCH] bugfix 1324144: broken PNS dragging --- pcbnew/router/pns_router.cpp | 1 + pcbnew/router/pns_via.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/router/pns_router.cpp b/pcbnew/router/pns_router.cpp index 7508ead1e6..596b5a5cd7 100644 --- a/pcbnew/router/pns_router.cpp +++ b/pcbnew/router/pns_router.cpp @@ -232,6 +232,7 @@ PNS_ITEM* PNS_ROUTER::syncVia( VIA* aVia ) aVia->GetPosition(), PNS_LAYERSET( 0, 15 ), aVia->GetWidth(), + aVia->GetDrillValue(), aVia->GetNetCode() ); v->SetDrill ( aVia->GetDrill() ); diff --git a/pcbnew/router/pns_via.h b/pcbnew/router/pns_via.h index 8ebb5a0de1..914ea758cb 100644 --- a/pcbnew/router/pns_via.h +++ b/pcbnew/router/pns_via.h @@ -105,7 +105,7 @@ public: return &m_shape; } - PNS_VIA* Clone ( ) const; + PNS_VIA* Clone() const; const SHAPE_LINE_CHAIN Hull( int aClearance = 0, int aWalkaroundThickness = 0 ) const;