Remove duplicate fields block from netlist exporter

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15055
This commit is contained in:
Jon Evans 2023-06-28 20:38:10 -04:00
parent 0e617774dd
commit 200316d869
1 changed files with 0 additions and 14 deletions

View File

@ -311,20 +311,6 @@ XNODE* NETLIST_EXPORTER_XML::makeSymbols( unsigned aCtl )
xlibsource->AddAttribute( wxT( "description" ), symbol->GetDescription() );
/* Add the symbol fields. Yes, this is redudant with the "properties"
* exported below, but properties has accreted everything we want to send to
* the footprint over time so we can't tell what's really a field.
*/
XNODE* xfields = node( "fields" );
xcomp->AddChild( xfields );
for( const SCH_FIELD& field : symbol->GetFields() )
{
XNODE* xfield = node( wxT( "field" ), field.GetText() );
xfields->AddChild( xfield );
xfield->AddAttribute( wxT( "name" ), field.GetCanonicalName() );
}
/* Add the symbol properties. */
XNODE* xproperty;