Altium PCB: fix orientation of polygons and non-Cu pads in footprints.
Fixed in master by bbd6c80507
This commit is contained in:
parent
20a5b2d4c4
commit
45d496bd01
|
@ -128,7 +128,7 @@ void ALTIUM_PCB::HelperShapeSetLocalCoord( PCB_SHAPE* aShape, uint16_t aComponen
|
||||||
FOOTPRINT* fp = m_components.at( aComponent );
|
FOOTPRINT* fp = m_components.at( aComponent );
|
||||||
|
|
||||||
polyShape.Move( -fp->GetPosition() );
|
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 )
|
if( fp )
|
||||||
{
|
{
|
||||||
polyShape.Move( -fp->GetPosition() );
|
polyShape.Move( -fp->GetPosition() );
|
||||||
polyShape.Rotate( fp->GetOrientation() );
|
polyShape.Rotate( -fp->GetOrientation() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue