Update pin type as well as function from existing when updating fp.
This commit is contained in:
parent
d0014a307d
commit
b1e8241ebe
|
@ -545,6 +545,7 @@ void PCB_EDIT_FRAME::ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew,
|
||||||
{
|
{
|
||||||
pad->SetLocalRatsnestVisible( pad_model->GetLocalRatsnestVisible() );
|
pad->SetLocalRatsnestVisible( pad_model->GetLocalRatsnestVisible() );
|
||||||
pad->SetPinFunction( pad_model->GetPinFunction() );
|
pad->SetPinFunction( pad_model->GetPinFunction() );
|
||||||
|
pad->SetPinType( pad_model->GetPinType() );
|
||||||
}
|
}
|
||||||
|
|
||||||
pad->SetNetCode( pad_model ? pad_model->GetNetCode() : NETINFO_LIST::UNCONNECTED );
|
pad->SetNetCode( pad_model ? pad_model->GetNetCode() : NETINFO_LIST::UNCONNECTED );
|
||||||
|
|
Loading…
Reference in New Issue