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:
parent
dd8610fd5c
commit
a43a228f78
|
@ -1098,6 +1098,10 @@ void EAGLE_PLUGIN::loadElements( wxXmlNode* aElements )
|
|||
|
||||
orientModuleAndText( m, e, nameAttr, valueAttr );
|
||||
|
||||
// Set the local coordinates for the footprint text items
|
||||
m->Reference().SetLocalCoord();
|
||||
m->Value().SetLocalCoord();
|
||||
|
||||
// Get next element
|
||||
element = element->GetNext();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue