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();
|
wxString netlistEnabled = netlistEnabledField->GetText();
|
||||||
|
|
||||||
if( netlistEnabled.IsEmpty() )
|
|
||||||
break;
|
|
||||||
|
|
||||||
if( netlistEnabled.CmpNoCase( disableStr ) == 0 )
|
if( netlistEnabled.CmpNoCase( disableStr ) == 0 )
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -201,8 +198,8 @@ bool NETLIST_EXPORTER_PSPICE::WriteNetlist( const wxString& aOutFileName, unsign
|
||||||
wxString nodeSeqIndexLineStr = spiceSeqField->GetText();
|
wxString nodeSeqIndexLineStr = spiceSeqField->GetText();
|
||||||
|
|
||||||
// Verify Field Exists and is not empty:
|
// Verify Field Exists and is not empty:
|
||||||
if( nodeSeqIndexLineStr.IsEmpty() )
|
if( !nodeSeqIndexLineStr.IsEmpty() )
|
||||||
break;
|
{
|
||||||
|
|
||||||
// Create an Array of Standard Pin Names from part definition:
|
// Create an Array of Standard Pin Names from part definition:
|
||||||
stdPinNameArray.Clear();
|
stdPinNameArray.Clear();
|
||||||
|
@ -233,6 +230,8 @@ bool NETLIST_EXPORTER_PSPICE::WriteNetlist( const wxString& aOutFileName, unsign
|
||||||
pinSequence.push_back( seq );
|
pinSequence.push_back( seq );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Get Standard Reference Designator:
|
//Get Standard Reference Designator:
|
||||||
|
|
Loading…
Reference in New Issue