Code

CodingStyle: const placement
[inkscape.git] / src / sp-spiral.cpp
index d7b703d1adbc70269657cf795f5a61ba6ce7a5fc..9c04120e1e8dea67091c679d1e7185a93cba5697 100644 (file)
@@ -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