Don't display footprints not in position files.

This commit is contained in:
Roberto Fernandez Bautista 2022-09-17 00:21:02 +01:00
parent 524b129c64
commit 2a0c31ed97
1 changed files with 3 additions and 0 deletions

View File

@ -266,6 +266,9 @@ bool BOARD_ADAPTER::IsFootprintShown( FOOTPRINT_ATTR_T aFPAttributes ) const
if( m_IsPreviewer ) // In panel Preview, footprints are always shown, of course if( m_IsPreviewer ) // In panel Preview, footprints are always shown, of course
return true; return true;
if( aFPAttributes & FP_EXCLUDE_FROM_POS_FILES )
return false;
if( aFPAttributes & FP_SMD ) if( aFPAttributes & FP_SMD )
return m_Cfg->m_Render.show_footprints_insert; return m_Cfg->m_Render.show_footprints_insert;
else if( aFPAttributes & FP_THROUGH_HOLE ) else if( aFPAttributes & FP_THROUGH_HOLE )