diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-11-01 07:00:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-01 07:00:53 +0100 |
| commit | 545b4b141330bb82623182bf91fa0d104af110de (patch) | |
| tree | 984407725bb90741319fa4af876aa0eb0c032482 /lib | |
| parent | d5313b1f92378697ec08d6d1d2833b64492ce435 (diff) | |
Print pdf: prevent rendering original paths (#3262)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/extensions/print_pdf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py index ac71206e..afef673d 100644 --- a/lib/extensions/print_pdf.py +++ b/lib/extensions/print_pdf.py @@ -359,7 +359,7 @@ class Print(InkstitchExtension): # corresponding to each individual color block and a final one # for all color blocks together. - layers_and_groups = svg.findall("./g") + layers_and_groups = svg.xpath("./g|./path|./circle|./ellipse|./rect|./text") stitch_plan_layer = svg.findone(".//*[@id='__inkstitch_stitch_plan__']") # Make sure there is no leftover translation from stitch plan preview |
