From 4b5e0dde032bd26abba658c299f158664474fbd8 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Tue, 29 Jul 2008 14:54:51 +0000 Subject: [PATCH] slightly increase legibility --- src/nodepath.cpp | 5 +++-- 1 file 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 hpaths = lpe->getHelperPaths(lpeitem); for (std::vector::iterator j = hpaths.begin(); j != hpaths.end(); ++j) { -- 2.30.2