[qu2cu] Fix
This commit is contained in:
parent
c11682ca85
commit
74cab7ae1f
@ -269,7 +269,7 @@ def spline_to_curves(q, tolerance=0.5, all_cubic=False):
|
|||||||
j = 0
|
j = 0
|
||||||
for i in reversed(splits):
|
for i in reversed(splits):
|
||||||
if not all_cubic and j + 1 == i:
|
if not all_cubic and j + 1 == i:
|
||||||
curves.append(q[j : j + 3])
|
curves.append(q[j * 2 : j * 2 + 3])
|
||||||
else:
|
else:
|
||||||
curves.append(merge_curves(elevated_quadratics[j:i])[0])
|
curves.append(merge_curves(elevated_quadratics[j:i])[0])
|
||||||
j = i
|
j = i
|
||||||
|
Loading…
x
Reference in New Issue
Block a user