Fix failure on multiple DRC runs via scripting
This commit is contained in:
parent
9456fab435
commit
2d010278ad
|
@ -486,8 +486,10 @@ bool WriteDRCReport( BOARD* aBoard, const wxString& aFileName, EDA_UNITS aUnits,
|
|||
|
||||
// Load the global fp-lib-table otherwise we can't check the libs parity
|
||||
wxFileName fn_flp = FP_LIB_TABLE::GetGlobalTableFileName();
|
||||
if( fn_flp.FileExists() )
|
||||
if( fn_flp.FileExists() ) {
|
||||
GFootprintTable.Clear();
|
||||
GFootprintTable.Load( fn_flp.GetFullPath() );
|
||||
}
|
||||
|
||||
wxString drcRulesPath = prj->AbsolutePath( fn.GetFullName() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue