Eeschema Eagle Import: Fix graphics on multi-unit symbols -- sets correct gate for arcs and polylines from eagle symbol wires.

This commit is contained in:
Russell Oliver 2017-09-02 13:10:04 +10:00 committed by Maciej Suminski
parent 230e8978f5
commit c3b0fca922
1 changed files with 2 additions and 0 deletions

View File

@ -1630,6 +1630,7 @@ LIB_ITEM* SCH_EAGLE_PLUGIN::loadSymbolWire( std::unique_ptr< LIB_PART >& aPart,
return (LIB_ITEM*) arc.release();
arc->SetUnit( gateNumber );
}
else
{
@ -1637,6 +1638,7 @@ LIB_ITEM* SCH_EAGLE_PLUGIN::loadSymbolWire( std::unique_ptr< LIB_PART >& aPart,
polyLine->AddPoint( begin );
polyLine->AddPoint( end );
polyLine->SetUnit( gateNumber );
return (LIB_ITEM*) polyLine.release();