diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index f7eb71c735..7e22cdd9c9 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -404,7 +404,9 @@ int GERBER_PLOTTER::GetOrCreateAperture( const std::vector& aCorners, d last_D_code = tool->m_DCode; - if( (tool->m_Type == aType) && (tool->m_Corners.size() == aCorners.size() ) && + if( (tool->m_Type == aType) && + (tool->m_Corners.size() == aCorners.size() ) && + (tool->m_Rotation == aRotDegree) && (tool->m_ApertureAttribute == aApertureAttribute) ) { // A candidate is found. the corner lists must be the same