Use green soldermask and white silkcreen when unspecified

Also - unspecify colour of soldermask by default

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9538
This commit is contained in:
Roberto Fernandez Bautista
2021-11-07 15:35:14 +00:00
parent 04a30638f0
commit 7fd669b6a8
2 changed files with 4 additions and 1 deletions
@@ -61,7 +61,7 @@ BOARD_STACKUP_ITEM::BOARD_STACKUP_ITEM( BOARD_STACKUP_ITEM_TYPE aType )
case BS_ITEM_TYPE_SOLDERMASK:
m_TypeName = "soldermask";
m_Color = "Green";
m_Color = NotSpecifiedPrm();
SetMaterial( NotSpecifiedPrm() ); // or other solder mask material name
SetThickness( GetMaskDefaultThickness() );
SetEpsilonR( DEFAULT_EPSILON_R_SOLDERMASK );