diff --git a/pcbnew/python/swig/pad.i b/pcbnew/python/swig/pad.i index acf2333f86..f38b7fe463 100644 --- a/pcbnew/python/swig/pad.i +++ b/pcbnew/python/swig/pad.i @@ -35,7 +35,7 @@ # define it for compatibility def AddPrimitive(self, *args): if len(args) == 2: - return self.AddPrimitivePoly(*args) + return self.AddPrimitivePoly(*args, True) elif len(args) == 3: if type(args[1] in [wxPoint,wxSize]): return self.AddPrimitiveSegment(*args)