From 1ac5ec1fc88593035f9d9dfebfe1261b33d9d7d3 Mon Sep 17 00:00:00 2001 From: Andrzej Wolski Date: Sat, 24 Feb 2018 21:51:33 +0100 Subject: [PATCH] Restore some missing visibility items from board file LAYER_TRACKS, LAYER_PADS_TH and LAYER_NON_PLATEDHOLES now have their own visibility control, so do not force them on. --- include/layers_id_colors_and_visibility.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/layers_id_colors_and_visibility.h b/include/layers_id_colors_and_visibility.h index 01b5df900d..2cd5d314f3 100644 --- a/include/layers_id_colors_and_visibility.h +++ b/include/layers_id_colors_and_visibility.h @@ -302,10 +302,7 @@ enum GERBVIEW_LAYER_ID: int // from a dialog, but have a visibility control flag. // Here is a mask to set them visible, to be sure they are displayed // after loading a board for instance -#define MIN_VISIBILITY_MASK int( (1 << GAL_LAYER_INDEX( LAYER_TRACKS ) ) +\ - ( 1 << GAL_LAYER_INDEX( LAYER_PADS_TH ) ) +\ - ( 1 << GAL_LAYER_INDEX( LAYER_PADS_PLATEDHOLES ) ) +\ - ( 1 << GAL_LAYER_INDEX( LAYER_NON_PLATEDHOLES ) ) +\ +#define MIN_VISIBILITY_MASK int( ( 1 << GAL_LAYER_INDEX( LAYER_PADS_PLATEDHOLES ) ) +\ ( 1 << GAL_LAYER_INDEX( LAYER_VIAS_HOLES ) ) +\ ( 1 << GAL_LAYER_INDEX( LAYER_DRC ) ) +\ ( 1 << GAL_LAYER_INDEX( LAYER_GP_OVERLAY ) ) )