summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-29 14:55:17 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-29 14:55:17 +0000
commitb452b5fb5b86ae23cc25c2204895c24f013be18a (patch)
tree4282ce478010a7ca22502bb83cc7592fb14c1daf /src/nodepath.cpp
parentslightly increase legibility (diff)
downloadinkscape-b452b5fb5b86ae23cc25c2204895c24f013be18a.tar.gz
inkscape-b452b5fb5b86ae23cc25c2204895c24f013be18a.zip
Update helperpaths live also when any of the item's LPEs is modified
(bzr r6456)
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 f6f9ef0d1..f210b275c 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -212,7 +212,7 @@ sp_nodepath_create_helperpaths(Inkscape::NodePath::Path *np) {
g_print ("\n");
}
-static void
+void
sp_nodepath_update_helperpaths(Inkscape::NodePath::Path *np) {
g_print ("sp_nodepath_update_helperpaths()\n");
//std::map<Inkscape::LivePathEffect::Effect *, std::vector<SPCanvasItem *> >* helper_path_vec;
@@ -653,7 +653,8 @@ static void update_object(Inkscape::NodePath::Path *np)
helper_curve->unref();
}
- sp_nodepath_update_helperpaths(np);
+ // updating helperpaths of LPEItems is now done in sp_lpe_item_update();
+ //sp_nodepath_update_helperpaths(np);
// now that nodepath and knotholder can be enabled simultaneously, we must update the knotholder, too
// TODO: this should be done from ShapeEditor!! nodepath should be oblivious of knotholder!