From: johanengelen Date: Fri, 6 Jun 2008 23:41:20 +0000 (+0000) Subject: for sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3c9f2a89e7b41a3d89f8c2a8f7e16deabdbf1555;p=inkscape.git for sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() ); (completed) --- diff --git a/src/sp-star.cpp b/src/sp-star.cpp index fbcad6975..cf6f11403 100644 --- a/src/sp-star.cpp +++ b/src/sp-star.cpp @@ -285,14 +285,9 @@ sp_star_update_patheffect(SPLPEItem *lpeitem, bool write) if (write) { Inkscape::XML::Node *repr = SP_OBJECT_REPR(shape); if ( shape->curve != NULL ) { - NArtBpath const * abp = shape->curve->get_bpath(); - if (abp) { - gchar *str = sp_svg_write_path(abp); - repr->setAttribute("d", str); - g_free(str); - } else { - repr->setAttribute("d", ""); - } + gchar *str = sp_svg_write_path(shape->curve->get_pathvector()); + repr->setAttribute("d", str); + g_free(str); } else { repr->setAttribute("d", NULL); }