Append True to Python 3 AddPrimitivePoly() call
Fixes https://gitlab.com/kicad/code/kicad/issues/11012
This commit is contained in:
parent
5aa561abe1
commit
b3a319b77e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue