diff --git a/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp b/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp index ed35a4e21b..dbcd4f4d78 100644 --- a/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp +++ b/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp @@ -1325,7 +1325,9 @@ void SCH_EAGLE_PLUGIN::loadInstance( wxXmlNode* aInstanceNode ) symbol->SetLibId( libId ); symbol->SetUnit( unit ); symbol->SetPosition( VECTOR2I( einstance.x.ToSchUnits(), -einstance.y.ToSchUnits() ) ); - symbol->GetField( FOOTPRINT_FIELD )->SetText( package ); + // assume that footprint library is identical to project name + wxString packageString = m_schematic->Prj().GetProjectName() + wxT( ":" ) + package; + symbol->GetField( FOOTPRINT_FIELD )->SetText( packageString ); if( einstance.rot ) {