summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-29 14:54:51 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-29 14:54:51 +0000
commitce3195d9c96730130497f99eecb7639a901ce442 (patch)
tree096b2c5a5a2d8cb6bc2feae75d06257c9c19365a /src
parentcleanup (diff)
downloadinkscape-ce3195d9c96730130497f99eecb7639a901ce442.tar.gz
inkscape-ce3195d9c96730130497f99eecb7639a901ce442.zip
slightly increase legibility
(bzr r6455)
Diffstat (limited to 'src')
-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) {