diff --git a/gerbview/dcode.cpp b/gerbview/dcode.cpp index aba787b70a..22ae7b0b41 100644 --- a/gerbview/dcode.cpp +++ b/gerbview/dcode.cpp @@ -404,7 +404,7 @@ void D_CODE::ConvertShapeToPolygon( const GERBER_DRAW_ITEM* aParent ) addHoleToPolygon( &m_Polygon, m_DrillShape, m_Drill, initialpos ); if( !m_Rotation.IsZero() ) // rotate polygonal shape: - m_Polygon.Rotate( m_Rotation ); + m_Polygon.Rotate( -m_Rotation ); break;