Pcbnew: honor footprint exclude from BOM setting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10297
(cherry picked from commit f379c49084
)
This commit is contained in:
parent
a91f807e13
commit
bbf00e0461
|
@ -121,6 +121,9 @@ void PCB_EDIT_FRAME::RecreateBOMFileFromBoard( wxCommandEvent& aEvent )
|
|||
|
||||
for( FOOTPRINT* footprint : GetBoard()->Footprints() )
|
||||
{
|
||||
if( footprint->GetAttributes() & FP_EXCLUDE_FROM_BOM )
|
||||
continue;
|
||||
|
||||
bool valExist = false;
|
||||
|
||||
// try to find component in existing list
|
||||
|
|
Loading…
Reference in New Issue