Update pin type as well as function from existing when updating fp.

This commit is contained in:
Jeff Young 2021-11-08 20:14:56 +00:00
parent d0014a307d
commit b1e8241ebe
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ void PCB_EDIT_FRAME::ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew,
{
pad->SetLocalRatsnestVisible( pad_model->GetLocalRatsnestVisible() );
pad->SetPinFunction( pad_model->GetPinFunction() );
pad->SetPinType( pad_model->GetPinType() );
}
pad->SetNetCode( pad_model ? pad_model->GetNetCode() : NETINFO_LIST::UNCONNECTED );