Skip to content

Commit

Permalink
Removing Iterations check from parametric.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SpectralVectors committed Jan 12, 2025
1 parent 32174bf commit 8a75a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/addons/cam/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def create_parametric_curve(
spline = curve.splines.new("BEZIER")
spline.bezier_points.add(iterations)

if use_cubic and iterations > 0:
if use_cubic: # and iterations > 0:
points = [
function(((i - 3) / (3 * iterations)) * (max - min) + min, *args, **kwargs)
for i in range((3 * (iterations + 2)) + 1)
Expand Down

0 comments on commit 8a75a2a

Please sign in to comment.