Attempt to fix SWIG issue.

This commit is contained in:
Jeff Young 2021-08-23 22:04:31 +01:00
parent 21f2b235ce
commit baab2e6119
1 changed files with 1 additions and 1 deletions

View File

@ -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
%}
}