Don't display footprints not in position files.
This commit is contained in:
parent
524b129c64
commit
2a0c31ed97
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue