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;