Skip to content

Commit e5ea69c

Browse files
committed
Use const CPoint() accessor in shape line chain
Non-const version was removed in nightlies
1 parent 5a7358f commit e5ea69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InteractiveHtmlBom/ecad/kicad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def parse_poly_set(self, polygon_set):
115115
return result
116116
parsed_outline = []
117117
for point_index in range(outline.PointCount()):
118-
point = outline.Point(point_index)
118+
point = outline.CPoint(point_index)
119119
parsed_outline.append(self.normalize([point.x, point.y]))
120120
result.append(parsed_outline)
121121

0 commit comments

Comments
 (0)