summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-24 07:17:30 +0000
committerJabiertxof <jtx@jtx>2017-01-24 07:17:30 +0000
commit6569c9330cb3f5378d01c4fe43c13f69d537561e (patch)
tree3177b769003d4fba36f20364720ab7cd8e3a4db3 /src/sp-item-group.cpp
parentFixes some compiling bug (diff)
downloadinkscape-6569c9330cb3f5378d01c4fe43c13f69d537561e.tar.gz
inkscape-6569c9330cb3f5378d01c4fe43c13f69d537561e.zip
Bug fixes
(bzr r15392.1.11)
Diffstat (limited to 'src/sp-item-group.cpp')
-rw-r--r--src/sp-item-group.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index 70787708e..f2c0d2f2c 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -965,16 +965,15 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write)
c->transform(i2anc_affine(subitem, topgroup));
success = topgroup->performPathEffect(c, subShape);
c->transform(i2anc_affine(subitem, topgroup).inverse());
-
+ Inkscape::XML::Node *repr = subitem->getRepr();
if (c && success) {
subShape->setCurve(c, TRUE);
if (write) {
- Inkscape::XML::Node *repr = subitem->getRepr();
gchar *str = sp_svg_write_path(c->get_pathvector());
repr->setAttribute("d", str);
- #ifdef GROUP_VERBOSE
+#ifdef GROUP_VERBOSE
g_message("sp_group_perform_patheffect writes 'd' attribute");
- #endif
+#endif
g_free(str);
}
c->unref();