Remove LAYER_WORKSHEET from forced visibility since it now has a control

Fixes: lp:1737315
* https://bugs.launchpad.net/kicad/+bug/1737315
This commit is contained in:
Jon Evans 2017-12-09 13:07:51 -05:00 committed by Wayne Stambaugh
parent 1955f25226
commit 6ee26fdd8c
2 changed files with 0 additions and 2 deletions

View File

@ -308,7 +308,6 @@ enum GERBVIEW_LAYER_ID: int
( 1 << GAL_LAYER_INDEX( LAYER_NON_PLATEDHOLES ) ) +\
( 1 << GAL_LAYER_INDEX( LAYER_VIAS_HOLES ) ) +\
( 1 << GAL_LAYER_INDEX( LAYER_DRC ) ) +\
( 1 << GAL_LAYER_INDEX( LAYER_WORKSHEET ) ) +\
( 1 << GAL_LAYER_INDEX( LAYER_GP_OVERLAY ) ) )

View File

@ -312,7 +312,6 @@ void PCB_DRAW_PANEL_GAL::SyncLayersVisibility( const BOARD* aBoard )
// Enable some layers that are GAL specific
m_view->SetLayerVisible( LAYER_PADS_PLATEDHOLES, true );
m_view->SetLayerVisible( LAYER_VIAS_HOLES, true );
m_view->SetLayerVisible( LAYER_WORKSHEET, true );
m_view->SetLayerVisible( LAYER_GP_OVERLAY, true );
}