Attempt to fix SWIG issue.
This commit is contained in:
parent
21f2b235ce
commit
baab2e6119
|
@ -45,7 +45,7 @@
|
||||||
# GetCustomShapeAsPolygon() is the old accessor to get custom shapes
|
# GetCustomShapeAsPolygon() is the old accessor to get custom shapes
|
||||||
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER):
|
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER):
|
||||||
polygon_set = SHAPE_POLY_SET()
|
polygon_set = SHAPE_POLY_SET()
|
||||||
self.MergePrimitivesAsPolygon(polygon_set, layer)
|
self.MergePrimitivesAsPolygon(polygon_set)
|
||||||
return polygon_set
|
return polygon_set
|
||||||
%}
|
%}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue