diff --git a/eeschema/sch_eagle_plugin.cpp b/eeschema/sch_eagle_plugin.cpp index c0a3f6e854..3e4d0b49d3 100644 --- a/eeschema/sch_eagle_plugin.cpp +++ b/eeschema/sch_eagle_plugin.cpp @@ -1386,6 +1386,8 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode, std::unique_ptr pin( loadPin( aPart, currentNode, &ePin, aGateNumber ) ); pincount++; + pin->SetType( PIN_BIDI ); + if( ePin.direction ) { const std::map pinDirectionsMap = @@ -1397,8 +1399,6 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode, std::unique_ptrSetType( PIN_UNSPECIFIED ); - for( const auto& pinDir : pinDirectionsMap ) { if( ePin.direction->Lower() == pinDir.first )