summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-07-04 06:14:31 +0200
committerGitHub <noreply@github.com>2025-07-04 07:14:31 +0300
commited16bc3fcab5076fe614db94d8f68391d3ce08d9 (patch)
treebff2c7a82be891d6d2ac6ab5d49fba371e18953e /lib/extensions
parent0e65ea27f65650a0f6e315dec9fb236d9b87d2e7 (diff)
feat: add "rotate on export" file setting (#3840)
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/output.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/extensions/output.py b/lib/extensions/output.py
index 5f2b485d..2e8f26ec 100644
--- a/lib/extensions/output.py
+++ b/lib/extensions/output.py
@@ -64,6 +64,7 @@ class Output(InkstitchExtension):
# in windows, failure to close here will keep the file locked
temp_file.close()
+ self.settings['rotate'] = self.metadata.get("rotate_on_export", 0)
write_embroidery_file(temp_file.name, stitch_plan, self.document.getroot(), self.settings)
if sys.platform == "win32":