pcbnew: Fix export of edge.cuts layer to STEP format

Fixes: lp:1820841
* https://bugs.launchpad.net/kicad/+bug/1820841
This commit is contained in:
Ian McInerney 2019-05-23 00:51:11 +01:00 committed by Seth Hillbrand
parent 9094a17795
commit 55261eb223
1 changed files with 3 additions and 6 deletions

View File

@ -318,12 +318,9 @@ bool KICADMODULE::ComposePCB( class PCBMODEL* aPCB, S3D_RESOLVER* resolver,
KICADCURVE lcurve = *i;
if( LAYER_TOP == m_side )
{
lcurve.m_start.y = -lcurve.m_start.y;
lcurve.m_end.y = -lcurve.m_end.y;
lcurve.m_angle = -lcurve.m_angle;
}
if( m_rotation < -dlim || m_rotation > dlim )
{