mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Update fp properties even when can't update fp
When updating the footprint, we may encounter a missing footprint. We should still modify the netlist against the existing footprint (if one does exist) to match the netlist. This matches the behavior of updating the netlist when fp are not selected for update Fixes https://gitlab.com/kicad/code/kicad/-/issues/18249
This commit is contained in:
parent
0877467384
commit
72411af9de
@ -1284,6 +1284,9 @@ bool BOARD_NETLIST_UPDATER::UpdateNetlist( NETLIST& aNetlist )
|
||||
if( m_replaceFootprints && component->GetFPID() != footprint->GetFPID() )
|
||||
tmp = replaceFootprint( aNetlist, footprint, component );
|
||||
|
||||
if( !tmp )
|
||||
tmp = footprint;
|
||||
|
||||
if( tmp )
|
||||
{
|
||||
footprintMap[ component ] = tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user