diff --git a/pcbnew/exporters/export_idf.cpp b/pcbnew/exporters/export_idf.cpp index af75c5e8bf..6490de3125 100644 --- a/pcbnew/exporters/export_idf.cpp +++ b/pcbnew/exporters/export_idf.cpp @@ -420,6 +420,12 @@ static void idf_export_footprint( BOARD* aPcb, FOOTPRINT* aFootprint, IDF3_BOARD while( sM != eM ) { + if( !sM->m_Show ) + { + ++sM; + continue; + } + idfFile.Assign( resolver->ResolvePath( sM->m_Filename ) ); idfExt = idfFile.GetExt(); diff --git a/pcbnew/exporters/export_vrml.cpp b/pcbnew/exporters/export_vrml.cpp index 2d5388423a..18bacf8c5b 100644 --- a/pcbnew/exporters/export_vrml.cpp +++ b/pcbnew/exporters/export_vrml.cpp @@ -796,6 +796,12 @@ void EXPORTER_PCB_VRML::ExportVrmlFootprint( FOOTPRINT* aFootprint, std::ostream while( sM != eM ) { + if( !sM->m_Show ) + { + ++sM; + continue; + } + SGNODE* mod3d = (SGNODE*) m_Cache3Dmodels->Load( sM->m_Filename ); if( nullptr == mod3d )