summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
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();
}
}
}