Fix bug with zone selection when zones are shown filled.

This commit is contained in:
Jeff Young 2018-11-04 19:16:56 +00:00
parent fec8ab372e
commit 6e9475694c
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}
}
}