Eeschema: fix update schematic symbol library link bugs.

This commit is contained in:
Wayne Stambaugh 2020-05-05 18:06:43 -04:00
parent 00716e362a
commit 590a101a88
3 changed files with 2 additions and 4 deletions

View File

@ -328,8 +328,6 @@ void SCH_COMPONENT::UpdateUnit( int aUnit )
void SCH_COMPONENT::SetConvert( int aConvert )
{
wxCHECK( m_part && m_part->HasConversion(), /* void */ );
if( m_convert != aConvert )
{
m_convert = aConvert;

View File

@ -1281,7 +1281,7 @@ void SCH_EAGLE_PLUGIN::loadInstance( wxXmlNode* aInstanceNode )
wxCHECK( libSymbol, /*void*/ );
component->SetLibSymbol( libSymbol );
component->SetLibSymbol( new LIB_PART( *libSymbol ) );
std::vector<LIB_PIN*> pins;
component->GetPins( pins );

View File

@ -1198,7 +1198,7 @@ int SCH_EDITOR_CONTROL::Paste( const TOOL_EVENT& aEvent )
if( libSymbol )
{
component->SetLibSymbol( libSymbol );
component->SetLibSymbol( new LIB_PART( *libSymbol ) );
}
else
{