Fix failure on multiple DRC runs via scripting
(cherry picked from commit 2d010278ad
)
This commit is contained in:
parent
88dfe6eb9c
commit
8451e6dcf1
|
@ -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