Altium PCB: fix orientation of polygons and non-Cu pads in footprints.

Fixed in master by bbd6c80507
This commit is contained in:
Alex Shvartzkop 2023-07-20 01:14:34 +05:00
parent 20a5b2d4c4
commit 45d496bd01
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ void ALTIUM_PCB::HelperShapeSetLocalCoord( PCB_SHAPE* aShape, uint16_t aComponen
FOOTPRINT* fp = m_components.at( aComponent );
polyShape.Move( -fp->GetPosition() );
polyShape.Rotate( fp->GetOrientation() );
polyShape.Rotate( -fp->GetOrientation() );
}
}
}
@ -150,7 +150,7 @@ void ALTIUM_PCB::HelperShapeSetLocalCoord( FP_SHAPE* aShape )
if( fp )
{
polyShape.Move( -fp->GetPosition() );
polyShape.Rotate( fp->GetOrientation() );
polyShape.Rotate( -fp->GetOrientation() );
}
}
}