← Back to team overview

kicad-developers team mailing list archive

[PATCH] Save through hole pads color to config file

 


From ebfb1d5cc9ebdeddaa518f14e7c86b7e5c1bbdaa Mon Sep 17 00:00:00 2001
From: Andrzej Wolski <awolski.kicad@xxxxxxxxx>
Date: Fri, 22 Jun 2018 01:35:05 +0200
Subject: [PATCH] Save through hole pads color to config file

TH Pads color is now user settable, so should be saved in config file.
---
 common/colors_design_settings.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/colors_design_settings.cpp b/common/colors_design_settings.cpp
index 6a2ba5a1a..4a34f7737 100644
--- a/common/colors_design_settings.cpp
+++ b/common/colors_design_settings.cpp
@@ -217,6 +217,7 @@ void COLORS_DESIGN_SETTINGS::setupConfigParams()
     Add( "Color4DPadBackEx", ITEM_COLOR( LAYER_PAD_BK ), GREEN );
     Add( "Color4DAnchorEx", ITEM_COLOR( LAYER_ANCHOR ), BLUE );
     Add( "Color4DPadFrontEx", ITEM_COLOR( LAYER_PAD_FR ), RED );
+    Add( "Color4DPadThruHoleEx", ITEM_COLOR( LAYER_PADS_TH ), YELLOW );
     Add( "Color4DNonPlatedEx", ITEM_COLOR( LAYER_NON_PLATEDHOLES ), YELLOW );
     Add( "Color4DPCBBackground", ITEM_COLOR( LAYER_PCB_BACKGROUND ), BLACK );
     Add( "Color4DPCBCursor", ITEM_COLOR( LAYER_CURSOR ), WHITE );
-- 
2.16.2


Follow ups