summaryrefslogtreecommitdiffstats
path: root/src/sp-path.cpp
diff options
context:
space:
mode:
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();
}
}