use "pattern" instead of "sourcelibreference" for footprints
This commit is contained in:
parent
6533b47f0a
commit
a9ca1e4ebd
|
@ -799,7 +799,7 @@ void ALTIUM_PCB::ParseComponents6Data( const CFB::CompoundFileReader& aReader,
|
||||||
m_board->Add( footprint, ADD_MODE::APPEND );
|
m_board->Add( footprint, ADD_MODE::APPEND );
|
||||||
m_components.emplace_back( footprint );
|
m_components.emplace_back( footprint );
|
||||||
|
|
||||||
LIB_ID fpID = AltiumToKiCadLibID( elem.sourcefootprintlibrary, elem.sourcelibreference );
|
LIB_ID fpID = AltiumToKiCadLibID( elem.sourcefootprintlibrary, elem.pattern );
|
||||||
|
|
||||||
footprint->SetFPID( fpID );
|
footprint->SetFPID( fpID );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue