From 00fea5006eebaf6cb5d430ee981576e682fb1353 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 8 Oct 2020 13:19:30 +0200 Subject: [PATCH] Gerber plotter: fix a bug in a aperture macro calculation --- common/plotters/GERBER_plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index daeed7e114..d40eec796d 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -389,7 +389,7 @@ int GERBER_PLOTTER::GetOrCreateAperture( const std::vector& 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;