eagle: Set module-relative position of ref/val

We need to set the footprint local coordinates of the footprint
reference and value fields at instantiation separately from the
TEXT_DIVERS elements.

Fixes: lp:1829727
* https://bugs.launchpad.net/kicad/+bug/1829727
This commit is contained in:
Seth Hillbrand 2019-08-25 21:54:09 -07:00
parent dd8610fd5c
commit a43a228f78
1 changed files with 4 additions and 0 deletions

View File

@ -1098,6 +1098,10 @@ void EAGLE_PLUGIN::loadElements( wxXmlNode* aElements )
orientModuleAndText( m, e, nameAttr, valueAttr ); orientModuleAndText( m, e, nameAttr, valueAttr );
// Set the local coordinates for the footprint text items
m->Reference().SetLocalCoord();
m->Value().SetLocalCoord();
// Get next element // Get next element
element = element->GetNext(); element = element->GetNext();
} }