Altium PCB import: Models is optional.
Models directory may not exist in older files. Fixes https://gitlab.com/kicad/code/kicad/-/issues/16512
This commit is contained in:
parent
5bc78f7d9f
commit
42d8c85f12
|
@ -320,7 +320,7 @@ void ALTIUM_PCB::Parse( const ALTIUM_COMPOUND_FILE& altiumPcbFi
|
|||
{
|
||||
this->ParseComponents6Data( aFile, fileHeader );
|
||||
} },
|
||||
{ true, ALTIUM_PCB_DIR::MODELS,
|
||||
{ false, ALTIUM_PCB_DIR::MODELS,
|
||||
[this, aFileMapping]( const ALTIUM_COMPOUND_FILE& aFile, auto fileHeader )
|
||||
{
|
||||
std::vector<std::string> dir{ aFileMapping.at( ALTIUM_PCB_DIR::MODELS ) };
|
||||
|
|
Loading…
Reference in New Issue