Fix Bug #1513556 (missing components, when pspice specific fields Spice_Netlist_Enabled or Spice_Node_Sequence have no value.)
This commit is contained in:
parent
2f92087bac
commit
2cfa79e52f
|
@ -185,9 +185,6 @@ bool NETLIST_EXPORTER_PSPICE::WriteNetlist( const wxString& aOutFileName, unsign
|
|||
{
|
||||
wxString netlistEnabled = netlistEnabledField->GetText();
|
||||
|
||||
if( netlistEnabled.IsEmpty() )
|
||||
break;
|
||||
|
||||
if( netlistEnabled.CmpNoCase( disableStr ) == 0 )
|
||||
continue;
|
||||
}
|
||||
|
@ -201,8 +198,8 @@ bool NETLIST_EXPORTER_PSPICE::WriteNetlist( const wxString& aOutFileName, unsign
|
|||
wxString nodeSeqIndexLineStr = spiceSeqField->GetText();
|
||||
|
||||
// Verify Field Exists and is not empty:
|
||||
if( nodeSeqIndexLineStr.IsEmpty() )
|
||||
break;
|
||||
if( !nodeSeqIndexLineStr.IsEmpty() )
|
||||
{
|
||||
|
||||
// Create an Array of Standard Pin Names from part definition:
|
||||
stdPinNameArray.Clear();
|
||||
|
@ -233,6 +230,8 @@ bool NETLIST_EXPORTER_PSPICE::WriteNetlist( const wxString& aOutFileName, unsign
|
|||
pinSequence.push_back( seq );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//Get Standard Reference Designator:
|
||||
|
|
Loading…
Reference in New Issue