summaryrefslogtreecommitdiff
path: root/lib/commands.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-08-03 17:50:01 +0200
committerGitHub <noreply@github.com>2021-08-03 17:50:01 +0200
commit8b80b2e67c3880700eb42a11c01492d5a114e2f0 (patch)
tree41ea85b2e68b94db2ce8d89ee58608202fd19c15 /lib/commands.py
parent06852848a9184916b36deb6e351a943c2cf3b884 (diff)
fix add-layer-commands (#1298)
Diffstat (limited to 'lib/commands.py')
-rw-r--r--lib/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands.py b/lib/commands.py
index f3875409..3e28086c 100644
--- a/lib/commands.py
+++ b/lib/commands.py
@@ -388,7 +388,7 @@ def add_commands(element, commands):
def add_layer_commands(layer, commands):
- svg = layer.root()
+ svg = layer.root
correction_transform = get_correction_transform(layer)
for i, command in enumerate(commands):