[cu2quPen] Remove unnecessary check

This commit is contained in:
Behdad Esfahbod 2023-02-22 07:44:13 -07:00
parent 68bfd99da0
commit 7580fc7e24

View File

@ -194,7 +194,6 @@ class Cu2QuPointPen(BasePointToSegmentPen):
f"expected {n}, got {len(points)}"
)
offcurves = points[:-1]
if offcurves:
if i == 0:
# any off-curve points preceding the first on-curve
# will be appended at the end of the contour