From c017cae01aa33a876795ec5da1438e8ec0f11fc5 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 20 Jun 2024 16:56:00 +0200 Subject: gray out randomize stitch length param when random stitch length is disabled (#3002) --- lib/stitches/circular_fill.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/stitches/circular_fill.py') diff --git a/lib/stitches/circular_fill.py b/lib/stitches/circular_fill.py index 11fd0432..7be9469a 100644 --- a/lib/stitches/circular_fill.py +++ b/lib/stitches/circular_fill.py @@ -27,7 +27,7 @@ def circular_fill(shape, ending_point, underpath, target, - use_random, + enable_random_stitch_length, running_stitch_length_jitter, random_seed, ): @@ -69,7 +69,7 @@ def circular_fill(shape, stitches = running_stitch([Stitch(*point) for point in path], running_stitch_length, running_stitch_tolerance, - use_random, + enable_random_stitch_length, running_stitch_length_jitter, random_seed) return _apply_bean_stitch_and_repeats(stitches, repeats, bean_stitch_repeats) @@ -81,7 +81,7 @@ def circular_fill(shape, coords = running_stitch([Point(*point) for point in line.coords], running_stitch_length, running_stitch_tolerance, - use_random, + enable_random_stitch_length, running_stitch_length_jitter, prng.join_args(random_seed, n)) segments.append([(point.x, point.y) for point in coords]) -- cgit v1.2.3