summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2019-07-06 10:18:01 +0200
committerGitHub <noreply@github.com>2019-07-06 10:18:01 +0200
commit62d4e35be91b04d71c560a73d5f4c510606388d7 (patch)
tree940c9d580b1a6d5e57b3923a00e8d87842a7746d
parentbec33656ece737e134ca4b7ec2dc9a7dc9c71fd1 (diff)
fix layer commands
-rw-r--r--lib/extensions/layer_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/layer_commands.py b/lib/extensions/layer_commands.py
index c124ec95..e710e351 100644
--- a/lib/extensions/layer_commands.py
+++ b/lib/extensions/layer_commands.py
@@ -21,7 +21,7 @@ class LayerCommands(CommandsExtension):
correction_transform = get_correction_transform(self.current_layer, child=True)
for i, command in enumerate(commands):
- ensure_symbol(command)
+ ensure_symbol(self.document, command)
inkex.etree.SubElement(self.current_layer, SVG_USE_TAG,
{