summaryrefslogtreecommitdiff
path: root/lib/extensions/layer_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extensions/layer_commands.py')
-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,
{