diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-06 23:41:20 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-06 23:41:20 +0000 |
| commit | 745ebcf8784861f752bfc6c3bf16c196cd09d64c (patch) | |
| tree | 6cd69ea27a97946b1f9a9ebaddbebc58ad6ec789 /src | |
| parent | for sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_sv... (diff) | |
| download | inkscape-745ebcf8784861f752bfc6c3bf16c196cd09d64c.tar.gz inkscape-745ebcf8784861f752bfc6c3bf16c196cd09d64c.zip | |
for sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() ); (completed)
(bzr r5843)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-star.cpp | 11 |
1 files 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); } |
