From 9a2c4ca30ed332442428594438848b9de2e589a9 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 4 Oct 2013 23:18:20 +0200 Subject: C++ (bzr r12659) --- src/sp-item-group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-item-group.cpp') diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 41e049b86..941b7a8a6 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -763,7 +763,7 @@ void SPGroup::update_patheffect(bool write) { } } - if (hasPathEffect() && sp_lpe_item_path_effects_enabled(this)) { + if (hasPathEffect() && pathEffectsEnabled()) { for (PathEffectList::iterator it = this->path_effect_list->begin(); it != this->path_effect_list->end(); it++) { LivePathEffectObject *lpeobj = (*it)->lpeobject; -- cgit v1.2.3 From 4f857ae84089672e9c7378d327e54889f64c62fb Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 4 Oct 2013 23:57:28 +0200 Subject: C++ (bzr r12660) --- src/sp-item-group.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-item-group.cpp') diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 941b7a8a6..ae974200f 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -424,7 +424,7 @@ sp_item_group_ungroup (SPGroup *group, GSList **children, bool do_done) gitem = group; } - sp_lpe_item_remove_all_path_effects(SP_LPE_ITEM(group), false); + SP_LPE_ITEM(group)->removeAllPathEffects(false); /* Step 1 - generate lists of children objects */ GSList *items = NULL; @@ -799,7 +799,7 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *topgroup, bool write) // only run LPEs when the shape has a curve defined if (c) { c->transform(i2anc_affine(subitem, topgroup)); - sp_lpe_item_perform_path_effect(SP_LPE_ITEM(topgroup), c); + SP_LPE_ITEM(topgroup)->performPathEffect(c); c->transform(i2anc_affine(subitem, topgroup).inverse()); SP_SHAPE(subitem)->setCurve(c, TRUE); -- cgit v1.2.3