kopia lustrzana https://github.com/inkstitch/inkstitch
be sure to visit selected nodes in the right order
rodzic
f81a70766f
commit
a7ef582025
|
@ -698,7 +698,10 @@ class Embroider(inkex.Effect):
|
|||
dbg.write("starting nodes: %s" % time.time())
|
||||
dbg.flush()
|
||||
if self.selected:
|
||||
for node in self.selected.itervalues():
|
||||
# be sure to visit selected nodes in the order they're stacked in
|
||||
# the document
|
||||
for node in self.document.getroot().iter():
|
||||
if node.get("id") in self.selected:
|
||||
self.handle_node(node)
|
||||
else:
|
||||
self.handle_node(self.document.getroot())
|
||||
|
|
Ładowanie…
Reference in New Issue