Keepout and graphic selection filters in footprint editor behave as per PCB editor

Fixes #7547

Fixes https://gitlab.com/kicad/code/kicad/issues/7545
This commit is contained in:
James Jackson 2021-02-16 01:35:13 +00:00
parent fb5cd22cd0
commit dd7030a28f
1 changed files with 2 additions and 0 deletions

View File

@ -1625,6 +1625,7 @@ bool PCB_SELECTION_TOOL::itemPassesFilter( BOARD_ITEM* aItem )
break;
case PCB_FP_ZONE_T:
case PCB_ZONE_T:
{
ZONE* zone = static_cast<ZONE*>( aItem );
@ -1637,6 +1638,7 @@ bool PCB_SELECTION_TOOL::itemPassesFilter( BOARD_ITEM* aItem )
}
break;
case PCB_FP_SHAPE_T:
case PCB_SHAPE_T:
case PCB_TARGET_T:
if( !m_filter.graphics )