summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 744b074)
raw | patch | inline | side by side (parent: 744b074)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 29 Jul 2008 14:54:51 +0000 (14:54 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 29 Jul 2008 14:54:51 +0000 (14:54 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 01846de06f3d5d6dad66e69c8d8baa450adbce19..f6f9ef0d199cca4e6f17d551e67fa337f0c8bbae 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
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) {