Gerber plotter: fix a bug in a aperture macro calculation

This commit is contained in:
jean-pierre charras
2020-10-08 13:24:28 +02:00
parent a534f24fb6
commit 00fea5006e
+1 -1
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;