From 6e9475694c3c4ae8b62b29753bb6346d02b02af6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 4 Nov 2018 19:16:56 +0000 Subject: [PATCH] Fix bug with zone selection when zones are shown filled. --- pcbnew/collectors.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcbnew/collectors.cpp b/pcbnew/collectors.cpp index 695446efcd..fbd0879747 100644 --- a/pcbnew/collectors.cpp +++ b/pcbnew/collectors.cpp @@ -450,6 +450,11 @@ SEARCH_RESULT GENERAL_COLLECTOR::Inspect( EDA_ITEM* testItem, void* testData ) Append2nd( item ); goto exit; } + else if( zone && !m_Guide->IgnoreZoneFills() && zone->HitTestFilledArea( m_RefPos ) ) + { + Append( item ); + goto exit; + } } } }