set up netlist footprint loader before attempting pcb update...

This commit is contained in:
Tomasz Wlostowski 2016-01-29 11:31:26 +01:00 committed by Maciej Suminski
parent 5ef6001e06
commit 570ba5e00a
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ void DIALOG_UPDATE_PCB::PerformUpdate( bool aDryRun )
toolManager->RunAction( COMMON_ACTIONS::selectionClear, true ); toolManager->RunAction( COMMON_ACTIONS::selectionClear, true );
} }
m_netlist->SetDeleteExtraFootprints( true );
m_netlist->SetFindByTimeStamp( m_matchByTimestamp->GetValue() );
m_netlist->SetReplaceFootprints( true );
try { try {
m_frame->LoadFootprints( *m_netlist, &reporter ); m_frame->LoadFootprints( *m_netlist, &reporter );
} }