Be sure that we are getting the SCH_SYMBOL values
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17782
This commit is contained in:
parent
d2701323a8
commit
2f7cc5fa2b
|
@ -725,7 +725,7 @@ XNODE* NETLIST_EXPORTER_XML::makeListOfNets( unsigned aCtl )
|
|||
if( item->Type() == SCH_PIN_T )
|
||||
{
|
||||
SCH_PIN* pin = static_cast<SCH_PIN*>( item );
|
||||
SYMBOL* symbol = pin->GetParentSymbol();
|
||||
SCH_SYMBOL* symbol = static_cast<SCH_SYMBOL*>( pin->GetParentSymbol() );
|
||||
|
||||
if( !symbol
|
||||
|| ( ( aCtl & GNL_OPT_BOM ) && symbol->GetExcludedFromBOM() )
|
||||
|
|
Loading…
Reference in New Issue