summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-05-09 22:56:01 +0200
committerGitHub <noreply@github.com>2023-05-09 22:56:01 +0200
commitb52938c2b3ad18f78e5e3ab111e9eca749518d3c (patch)
tree2564387530820c514e36c1c5e7c9032d86616bbb
parent7de75fac0c50f7aa5afbefc8868e9a5a4f4e1a11 (diff)
remove previous end_row_spacing (#2282)
-rw-r--r--lib/extensions/gradient_blocks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/extensions/gradient_blocks.py b/lib/extensions/gradient_blocks.py
index 456b5007..563e3127 100644
--- a/lib/extensions/gradient_blocks.py
+++ b/lib/extensions/gradient_blocks.py
@@ -77,6 +77,8 @@ class GradientBlocks(CommandsExtension):
if self.options.end_row_spacing != 0:
end_row_spacing = self.options.end_row_spacing
block.set('inkstitch:end_row_spacing_mm', f'{end_row_spacing: .2f}')
+ else:
+ block.pop('inkstitch:end_row_spacing_mm')
# disable underlay and underpath
block.set('inkstitch:fill_underlay', False)
block.set('inkstitch:underpath', False)