Revert "Tented usually means that there is no soldermask"
This reverts commit 021f251efd
.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18230
This commit is contained in:
parent
c5056beeb3
commit
1a1083def6
|
@ -540,10 +540,10 @@ void PADSTACK::ClearPrimitives( PCB_LAYER_ID aLayer )
|
||||||
std::optional<bool> PADSTACK::IsTented( PCB_LAYER_ID aSide ) const
|
std::optional<bool> PADSTACK::IsTented( PCB_LAYER_ID aSide ) const
|
||||||
{
|
{
|
||||||
if( IsFrontLayer( aSide ) )
|
if( IsFrontLayer( aSide ) )
|
||||||
return !m_frontMaskProps.has_solder_mask;
|
return m_frontMaskProps.has_solder_mask;
|
||||||
|
|
||||||
if( IsBackLayer( aSide ) )
|
if( IsBackLayer( aSide ) )
|
||||||
return !m_backMaskProps.has_solder_mask;
|
return m_backMaskProps.has_solder_mask;
|
||||||
|
|
||||||
wxCHECK_MSG( false, std::nullopt, "IsTented expects a front or back layer" );
|
wxCHECK_MSG( false, std::nullopt, "IsTented expects a front or back layer" );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue