Don't hide zone virtual layers in footprint editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6642
This commit is contained in:
parent
f6ad031056
commit
87b25936a0
|
@ -1121,7 +1121,7 @@ void APPEARANCE_CONTROLS::setVisibleObjects( GAL_SET aLayers )
|
|||
{
|
||||
KIGFX::VIEW* view = m_frame->GetCanvas()->GetView();
|
||||
|
||||
for( size_t i = 0; i < aLayers.size(); i++ )
|
||||
for( size_t i = 0; i < GAL_LAYER_INDEX( LAYER_ZONE_START ); i++ )
|
||||
view->SetLayerVisible( GAL_LAYER_ID_START + GAL_LAYER_ID( i ), aLayers.test( i ) );
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue