Don't steal an existing via's hole.

(cherry picked from commit 6fb30398ca)
This commit is contained in:
Jeff Young 2023-04-11 17:44:12 +01:00
parent eb492724c7
commit 0be01f3c24
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()