Browse Source

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

6.0.7
Jeff Young 4 years ago
parent
commit
b1e8241ebe
  1. 1
      pcbnew/dialogs/dialog_exchange_footprints.cpp

1
pcbnew/dialogs/dialog_exchange_footprints.cpp

@ -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 );

Loading…
Cancel
Save