[qu2cu] Adjust optimization
This commit is contained in:
parent
e3d8472187
commit
bf1ed91bde
@ -268,7 +268,7 @@ def spline_to_curves(q, costs, tolerance=0.5, all_cubic=False):
|
||||
if i_sol < best_sol:
|
||||
best_sol = i_sol
|
||||
|
||||
if this_count == 3:
|
||||
if this_count <= 3:
|
||||
# Can't get any better than this
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user