Tented usually means that there is no soldermask

Probably was a typo
This commit is contained in:
Seth Hillbrand 2024-06-14 16:37:17 -07:00
parent d21eba4021
commit 021f251efd
1 changed files with 2 additions and 2 deletions

View File

@ -540,10 +540,10 @@ void PADSTACK::ClearPrimitives( PCB_LAYER_ID aLayer )
std::optional<bool> PADSTACK::IsTented( PCB_LAYER_ID aSide ) const
{
if( IsFrontLayer( aSide ) )
return m_frontMaskProps.has_solder_mask;
return !m_frontMaskProps.has_solder_mask;
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" );
}