mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-30 06:36:55 +00:00
Further netclass name method cleanup
This commit is contained in:
parent
5cd9e319d3
commit
83f03b10ff
@ -111,12 +111,6 @@ wxString BOARD_CONNECTED_ITEM::GetNetClassName() const
|
||||
}
|
||||
|
||||
|
||||
wxString BOARD_CONNECTED_ITEM::GetNetClassVariableSubstitutionName() const
|
||||
{
|
||||
return GetEffectiveNetClass()->GetName();
|
||||
}
|
||||
|
||||
|
||||
wxString BOARD_CONNECTED_ITEM::GetNetname() const
|
||||
{
|
||||
return m_netinfo ? m_netinfo->GetNetname() : wxString();
|
||||
|
@ -185,11 +185,6 @@ public:
|
||||
*/
|
||||
wxString GetNetClassName() const;
|
||||
|
||||
/*
|
||||
* Returns the name of the effective netclass for variable substitutions
|
||||
*/
|
||||
wxString GetNetClassVariableSubstitutionName() const;
|
||||
|
||||
void SetLocalRatsnestVisible( bool aVisible ) { m_localRatsnestVisible = aVisible; }
|
||||
bool GetLocalRatsnestVisible() const { return m_localRatsnestVisible; }
|
||||
|
||||
|
@ -1046,7 +1046,7 @@ bool FOOTPRINT::ResolveTextVar( wxString* token, int aDepth ) const
|
||||
else if( token->StartsWith( wxT( "NET_NAME" ) ) )
|
||||
*token = pad->GetNetname();
|
||||
else if( token->StartsWith( wxT( "NET_CLASS" ) ) )
|
||||
*token = pad->GetNetClassVariableSubstitutionName();
|
||||
*token = pad->GetNetClassName();
|
||||
else
|
||||
*token = pad->GetPinFunction();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user