[qu2cu] No need to add 0 to forced set

This commit is contained in:
Behdad Esfahbod 2023-02-20 21:14:04 -07:00
parent f305e53dfc
commit b355b59c2c

View File

@ -287,7 +287,7 @@ def spline_to_curves(q, costs, tolerance=0.5, all_cubic=False):
]
# Find sharp corners; they have to be oncurves for sure.
forced = {0}
forced = set()
for i in range(1, len(elevated_quadratics)):
p0 = elevated_quadratics[i - 1][2]
p1 = elevated_quadratics[i][0]