summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-05-01 12:03:06 +0200
committerGitHub <noreply@github.com>2023-05-01 12:03:06 +0200
commit2542f124eb4e741687ebc7e0d69b27e2291310c6 (patch)
tree1bfa54fd6ed249994400baa82f6fdaee1f71a25a /lib/elements/element.py
parent76af7ffcf29b7b604693117af6e8766ee6977a34 (diff)
remove random seed param from unaffected stitch types (#2251)
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 30cce418..43cbc8a2 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -357,22 +357,6 @@ class EmbroideryElement(object):
return self.get_boolean_param('stop_after', False)
@property
- @param('random_seed',
- _('Random seed'),
- tooltip=_('Use a specific seed for randomized attributes. Uses the element ID if empty.'),
- type='random_seed',
- default='',
- sort_index=100)
- @cache
- def random_seed(self) -> str:
- seed = self.get_param('random_seed', '')
- if not seed:
- seed = self.node.get_id() or ''
- # TODO(#1696): When inplementing grouped clones, join this with the IDs of any shadow roots,
- # letting each instance without a specified seed get a different default.
- return seed
-
- @property
def path(self):
# A CSP is a "cubic superpath".
#