From 3c9f2a89e7b41a3d89f8c2a8f7e16deabdbf1555 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Fri, 6 Jun 2008 23:41:20 +0000 Subject: [PATCH] for sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() ); (completed) --- src/sp-star.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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); } -- 2.30.2