summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2016-12-28 08:42:19 +0000
committerJabiertxof <jtx@jtx>2016-12-28 08:42:19 +0000
commit50714133d92da517b5185385ea4c553408c80e54 (patch)
tree27ecbc256d57c51e4425bb566da888b825941c10 /src/sp-path.cpp
parentFixes bug #1652465 on mirror and copy rotate LPE. (diff)
downloadinkscape-50714133d92da517b5185385ea4c553408c80e54.tar.gz
inkscape-50714133d92da517b5185385ea4c553408c80e54.zip
First attemp working
(bzr r15356.1.1)
Diffstat (limited to 'src/sp-path.cpp')
-rw-r--r--src/sp-path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index b593b7937..0a2ce4c09 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -354,9 +354,9 @@ g_message("sp_path_update_patheffect writes 'd' attribute");
if (gchar const * value = repr->attribute("d")) {
Geom::PathVector pv = sp_svg_read_pathv(value);
SPCurve *oldcurve = new SPCurve(pv);
-
if (oldcurve) {
- this->setCurve(oldcurve, TRUE);
+ this->setCurveInsync(oldcurve, TRUE);
+ repr->setAttribute("d", value);
oldcurve->unref();
}
}