Make sure SCH_PIN->LIB_PIN pointers get cleared
This commit is contained in:
parent
33d93b79a3
commit
334b414826
|
@ -350,6 +350,8 @@ void SCH_SYMBOL::UpdatePins()
|
||||||
|
|
||||||
if( !pin->GetAlt().IsEmpty() )
|
if( !pin->GetAlt().IsEmpty() )
|
||||||
altPinMap[ pin->GetNumber() ] = pin->GetAlt();
|
altPinMap[ pin->GetNumber() ] = pin->GetAlt();
|
||||||
|
|
||||||
|
pin->SetLibPin( nullptr );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pinMap.clear();
|
m_pinMap.clear();
|
||||||
|
|
Loading…
Reference in New Issue