summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 01846de06..f6f9ef0d1 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -199,8 +199,9 @@ sp_nodepath_create_helperpaths(Inkscape::NodePath::Path *np) {
SPLPEItem *lpeitem = SP_LPE_ITEM(np->item);
PathEffectList lpelist = sp_lpe_item_get_effect_list(lpeitem);
for (PathEffectList::iterator i = lpelist.begin(); i != lpelist.end(); ++i) {
- Inkscape::LivePathEffect::Effect *lpe = (*i)->lpeobject->lpe;
- g_print ("Processing LPE %s\n", SP_OBJECT_REPR((*i)->lpeobject)->attribute("id"));
+ Inkscape::LivePathEffect::LPEObjectReference *lperef = (*i);
+ Inkscape::LivePathEffect::Effect *lpe = lperef->lpeobject->lpe;
+ g_print ("Processing LPE %s\n", SP_OBJECT_REPR(lperef->lpeobject)->attribute("id"));
// create new canvas items from the effect's helper paths
std::vector<Geom::PathVector> hpaths = lpe->getHelperPaths(lpeitem);
for (std::vector<Geom::PathVector>::iterator j = hpaths.begin(); j != hpaths.end(); ++j) {