mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix accidental ingoring of rotation angle.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20271
This commit is contained in:
parent
7e046e6c8b
commit
f0c81e972f
@ -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…
x
Reference in New Issue
Block a user