Fix bone-headed copy/paste.
This commit is contained in:
parent
e0d4cf2d5b
commit
c54d97170b
|
@ -2695,7 +2695,12 @@ bool PCB_SELECTION_TOOL::Selectable( const BOARD_ITEM* aItem, bool checkVisibili
|
|||
case PCB_DIM_CENTER_T:
|
||||
case PCB_DIM_RADIAL_T:
|
||||
case PCB_DIM_ORTHOGONAL_T:
|
||||
if( aItem->GetParentFootprint() )
|
||||
if( m_isFootprintEditor )
|
||||
{
|
||||
if( !view()->IsLayerVisible( aItem->GetLayer() ) )
|
||||
return false;
|
||||
}
|
||||
else if( aItem->GetParentFootprint() )
|
||||
{
|
||||
// Footprint dimension selections are only allowed in footprint editor mode.
|
||||
if( !checkVisibilityOnly )
|
||||
|
|
Loading…
Reference in New Issue