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