Browse Source

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
pull/14/head
Seth Hillbrand 6 years ago
parent
commit
a43a228f78
  1. 4
      pcbnew/eagle_plugin.cpp

4
pcbnew/eagle_plugin.cpp

@ -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…
Cancel
Save