From f225e95ffc89d0a279591a90300524a138a01087 Mon Sep 17 00:00:00 2001 From: Cameron McQuinn Date: Fri, 11 Dec 2020 14:58:57 -0700 Subject: [PATCH] FIx BOARD class SWIG interface Commit b1f0bf7 changed netinfo.h to use more consistent naming, but the SWIG board.i file still references the old name. --- pcbnew/swig/board.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/swig/board.i b/pcbnew/swig/board.i index e9ebb20a15..fcb3fea83b 100644 --- a/pcbnew/swig/board.i +++ b/pcbnew/swig/board.i @@ -147,7 +147,7 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints) Given a netname, return its netcode """ net = self.GetNetsByName()[netname] - return net.GetNet() + return net.GetNetCode() def GetAllNetClasses(self): """