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
(cherry picked from commit 9cebea5f11
)
This commit is contained in:
parent
4e7b5b9784
commit
f1a054e6af
|
@ -153,10 +153,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