summaryrefslogtreecommitdiff
path: root/lib/extensions/base.py
diff options
context:
space:
mode:
authorGeorge Steel <george.steel@gmail.com>2022-12-11 22:18:09 -0500
committerGeorge Steel <george.steel@gmail.com>2022-12-11 22:18:09 -0500
commit903f724c888aea968e85b1e3f2817c66e64d7a02 (patch)
tree40b00d0b7b4265a9e055826d2d1b9d35515872bf /lib/extensions/base.py
parentdd115ae02f5cb8932f2f23865909682ea6bcebac (diff)
refine GUI for text-based random_seed parameter and add global param.
Diffstat (limited to 'lib/extensions/base.py')
-rw-r--r--lib/extensions/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/extensions/base.py b/lib/extensions/base.py
index cf94714c..c2f76b27 100644
--- a/lib/extensions/base.py
+++ b/lib/extensions/base.py
@@ -179,6 +179,8 @@ class InkstitchExtension(inkex.Effect):
return nodes
def get_nodes(self, troubleshoot=False):
+ # Postorder traversal of selected nodes and their descendants.
+ # Returns all nodes if there is no selection.
return self.descendants(self.document.getroot(), troubleshoot=troubleshoot)
def get_elements(self, troubleshoot=False):