From baab2e611941da23aa7f0b706523e0bd5c3e3728 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 23 Aug 2021 22:04:31 +0100 Subject: [PATCH] Attempt to fix SWIG issue. --- pcbnew/python/swig/pad.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/python/swig/pad.i b/pcbnew/python/swig/pad.i index af1421f987..2e9170d532 100644 --- a/pcbnew/python/swig/pad.i +++ b/pcbnew/python/swig/pad.i @@ -45,7 +45,7 @@ # GetCustomShapeAsPolygon() is the old accessor to get custom shapes def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER): polygon_set = SHAPE_POLY_SET() - self.MergePrimitivesAsPolygon(polygon_set, layer) + self.MergePrimitivesAsPolygon(polygon_set) return polygon_set %} }