summaryrefslogtreecommitdiff
path: root/lib/extensions/base.py
diff options
context:
space:
mode:
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):