From 6fb30398cad6c71777a67307dfbd0b883a2e5c0c Mon Sep 17 00:00:00 2001 From: Jeff Young <jeff@rokeby.ie> Date: Tue, 11 Apr 2023 17:44:12 +0100 Subject: [PATCH] Don't steal an existing via's hole. --- pcbnew/router/pns_diff_pair.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/router/pns_diff_pair.h b/pcbnew/router/pns_diff_pair.h index 033f2c35e9..8b900bc58c 100644 --- a/pcbnew/router/pns_diff_pair.h +++ b/pcbnew/router/pns_diff_pair.h @@ -394,7 +394,9 @@ public: { m_hasVias = true; m_via_p = aViaP; + m_via_p.SetHole( aViaP.Hole()->Clone() ); m_via_n = aViaN; + m_via_n.SetHole( aViaN.Hole()->Clone() ); } void RemoveVias()