summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-06 23:51:48 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-06 23:51:48 +0000
commitebd64ca4823996556e444e0871ac9947a3568610 (patch)
tree047535e164df629081a8d9c2b596f38d0df340b6 /src/sp-item-group.cpp
parentfor sppath, use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pat... (diff)
downloadinkscape-ebd64ca4823996556e444e0871ac9947a3568610.tar.gz
inkscape-ebd64ca4823996556e444e0871ac9947a3568610.zip
ellipses and groups now use 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );
(bzr r5846)
Diffstat (limited to 'src/sp-item-group.cpp')
-rw-r--r--src/sp-item-group.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index 347f50491..109b55eb7 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -853,16 +853,11 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup)
Inkscape::XML::Node *repr = SP_OBJECT_REPR(subitem);
- NArtBpath const *abp = c->first_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(c->get_pathvector());
+ repr->setAttribute("d", str);
+ g_free(str);
- c->unref();
+ c->unref();
}
}
}