Correct SWIG call for board design settings
Use the backend call rather than rely on the naming of internal variables Fixes https://gitlab.com/kicad/code/kicad/issues/11924
This commit is contained in:
parent
b7b955e37b
commit
9cebea5f11
|
@ -143,10 +143,10 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints)
|
|||
return SaveBoard(filename,self)
|
||||
|
||||
def GetNetClasses(self):
|
||||
return self.GetDesignSettings().m_NetClasses
|
||||
return self.GetDesignSettings().GetNetClasses()
|
||||
|
||||
def GetCurrentNetClassName(self):
|
||||
return self.GetDesignSettings().m_CurrentNetClassName
|
||||
return self.GetDesignSettings().GetCurrentNetClassName()
|
||||
|
||||
def GetViasDimensionsList(self):
|
||||
return self.GetDesignSettings().m_ViasDimensionsList
|
||||
|
|
Loading…
Reference in New Issue