From 7768c8f11950860a97ae1a3d8e21b47a47f893cf Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 30 Aug 2022 20:56:14 +0200 Subject: [PATCH] Gerbview: fix a typo that breaks gerber items collector. --- gerbview/gbr_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerbview/gbr_layout.cpp b/gerbview/gbr_layout.cpp index 793cbfa752..33e6c70fdd 100644 --- a/gerbview/gbr_layout.cpp +++ b/gerbview/gbr_layout.cpp @@ -93,7 +93,7 @@ INSPECT_RESULT GBR_LAYOUT::Visit( INSPECTOR inspector, void* testData, if( gerber == nullptr ) // Graphic layer not yet used continue; - if( gerber->Visit( inspector, testData, { scanType } ) == INSPECT_RESULT::QUIT ) + if( gerber->Visit( inspector, testData, aScanTypes ) == INSPECT_RESULT::QUIT ) return INSPECT_RESULT::QUIT; } }