Browse Source

Fix accidental ingoring of rotation angle.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20271

(cherry picked from commit f0c81e972f)
9.0
Jeff Young 8 months ago
parent
commit
97982cd089
  1. 6
      pcbnew/pcb_io/eagle/pcb_io_eagle.cpp

6
pcbnew/pcb_io/eagle/pcb_io_eagle.cpp

@ -745,8 +745,10 @@ void PCB_IO_EAGLE::loadPlain( wxXmlNode* aGraphics )
if( t.rot )
{
if( !t.rot->spin )
degrees = t.rot->mirror ? -t.rot->degrees : t.rot->degrees;
degrees = t.rot->degrees;
if( t.rot->mirror && !t.rot->spin )
degrees *= -1;
if( t.rot->mirror )
pcbtxt->SetMirrored( t.rot->mirror );

Loading…
Cancel
Save