Gerber plotter: fix a bug in a aperture macro calculation

This commit is contained in:
jean-pierre charras 2020-10-08 13:19:30 +02:00
parent a534f24fb6
commit 00fea5006e
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ int GERBER_PLOTTER::GetOrCreateAperture( const std::vector<wxPoint>& aCorners, d
for( size_t ii = 0; ii < aCorners.size(); ii++ )
{
if( aCorners[ii] != m_apertures[m_currentApertureIdx].m_Corners[ii] )
if( aCorners[ii] != tool->m_Corners[ii] )
{
is_same = false;
break;