diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-06-21 18:43:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-21 18:43:18 +0200 |
| commit | 4cef6be086ac23bbe018caa4f85bcf2f0a684e34 (patch) | |
| tree | 65a154c65b9e25c12d18924f4ffe10ea683d6e64 /lib/extensions/utils/inkex_command.py | |
| parent | 4e143db33a547571c90ad2736e9c0bbd53759801 (diff) | |
Fix realistic stitch plan preview for inkscape versions 1.3 and 1.3.1 (#3004)
Co-authored-by: CapellanCitizen
Diffstat (limited to 'lib/extensions/utils/inkex_command.py')
| -rw-r--r-- | lib/extensions/utils/inkex_command.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/extensions/utils/inkex_command.py b/lib/extensions/utils/inkex_command.py index 3b14db16..20cfc0a5 100644 --- a/lib/extensions/utils/inkex_command.py +++ b/lib/extensions/utils/inkex_command.py @@ -208,6 +208,7 @@ def inkscape(svg_file, *args, **kwargs): to `--export-id` and `--query-id`, by converting the call to the appropriate action sequence. The stdout is cleaned to resemble non-interactive mode. """ + os.environ["SELF_CALL"] = "true" # needed for inkscape versions 1.3 and 1.3.1 actions = kwargs.get("actions", None) strip_stdout = False # Keep some safe margin to the 8191 character limit. |
