CADSTAR PCB: Legacy netclass and design settings loading is required
This commit is contained in:
parent
ae0229b7c9
commit
2dfbd42be6
|
@ -657,8 +657,6 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadDesignRules()
|
|||
|
||||
applyNetClassRule( "T_T", ds.GetDefault(), &::NETCLASS::SetClearance );
|
||||
|
||||
m_board->m_LegacyNetclassesLoaded = true;
|
||||
|
||||
wxLogWarning( _( "KiCad design rules are different from CADSTAR ones. Only the compatible "
|
||||
"design rules were imported. It is recommended that you review the design "
|
||||
"rules that have been applied." ) );
|
||||
|
|
|
@ -138,6 +138,10 @@ BOARD* CADSTAR_PCB_ARCHIVE_PLUGIN::Load( const wxString& aFileName, BOARD* aAppe
|
|||
}
|
||||
}
|
||||
|
||||
// Need to set legacy loading so that netclassess and design rules are loaded correctly
|
||||
m_board->m_LegacyNetclassesLoaded = true;
|
||||
m_board->m_LegacyDesignSettingsLoaded = true;
|
||||
|
||||
m_loaded_footprints = tempPCB.GetLoadedLibraryFootpints();
|
||||
|
||||
return m_board;
|
||||
|
|
Loading…
Reference in New Issue