Don't steal an existing via's hole.

This commit is contained in:
Jeff Young 2023-04-11 17:44:12 +01:00
parent b2554ad611
commit 6fb30398ca
1 changed files with 2 additions and 0 deletions

View File

@ -394,7 +394,9 @@ public:
{ {
m_hasVias = true; m_hasVias = true;
m_via_p = aViaP; m_via_p = aViaP;
m_via_p.SetHole( aViaP.Hole()->Clone() );
m_via_n = aViaN; m_via_n = aViaN;
m_via_n.SetHole( aViaN.Hole()->Clone() );
} }
void RemoveVias() void RemoveVias()