summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-02-16 06:39:39 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-02-16 06:39:39 +0000
commit25a06419150f89cf072f287298dded918e947438 (patch)
tree414a799920e8c050fceec3ffe3270d78d8f16f86 /src
parentadd odf (diff)
downloadinkscape-25a06419150f89cf072f287298dded918e947438.tar.gz
inkscape-25a06419150f89cf072f287298dded918e947438.zip
fix 1424662: as in star, set shape before writing d=
(bzr r153)
Diffstat (limited to 'src')
-rw-r--r--src/sp-spiral.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-spiral.cpp b/src/sp-spiral.cpp
index d7b703d1a..9c04120e1 100644
--- a/src/sp-spiral.cpp
+++ b/src/sp-spiral.cpp
@@ -156,6 +156,9 @@ sp_spiral_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
sp_repr_set_svg_double(repr, "sodipodi:t0", spiral->t0);
}
+ // make sure the curve is rebuilt with all up-to-date parameters
+ sp_spiral_set_shape ((SPShape *) spiral);
+
//Duplicate the path
SPCurve *curve = ((SPShape *) spiral)->curve;
//Nulls might be possible if this called iteratively