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
(cherry picked from commit a43a228f78
)
This commit is contained in:
parent
1320dda9cb
commit
8277aeec7d
|
@ -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