Commit 0fee3447 authored by Thomas Holder's avatar Thomas Holder Committed by Marc Jeanmougin
Browse files

Fix rebased URLs after running extensions

Bug is only observed if `$TMPDIR` is not at the same level as the
document's location, and relative links are possible (common ancestor is
not the filesystem root).

Fixes #1313
parent 08c7ad69
Pipeline #144787093 failed with stages
in 91 minutes and 10 seconds
......@@ -613,6 +613,8 @@ void Script::effect(Inkscape::Extension::Effect *module,
SPDocument* vd=doc->doc();
if (vd != nullptr)
copy_doc(vd->getReprRoot(), mydoc->getReprRoot());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment