summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-skeletalstrokes.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-18 13:59:34 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-18 13:59:34 +0000
commitb337a5de023075fc3916baee97218c72f95b7fdd (patch)
tree04bc9d473c8b0a104997366e331a09e5891f9643 /src/live_effects/lpe-skeletalstrokes.cpp
parentfurther work on the gtkmm exception problems in the file dialog/filedialogimp... (diff)
downloadinkscape-b337a5de023075fc3916baee97218c72f95b7fdd.tar.gz
inkscape-b337a5de023075fc3916baee97218c72f95b7fdd.zip
Make LPE Path along path behave more naturally. (fixes problems in moving a path with that effect applied to it)
(bzr r4107)
Diffstat (limited to 'src/live_effects/lpe-skeletalstrokes.cpp')
-rw-r--r--src/live_effects/lpe-skeletalstrokes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-skeletalstrokes.cpp b/src/live_effects/lpe-skeletalstrokes.cpp
index 8e70f8a87..effa66e54 100644
--- a/src/live_effects/lpe-skeletalstrokes.cpp
+++ b/src/live_effects/lpe-skeletalstrokes.cpp
@@ -107,7 +107,7 @@ LPESkeletalStrokes::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pw
Interval pattBnds = bounds_exact(x);
x -= pattBnds.min();
Interval pattBndsY = bounds_exact(y);
- y -= (pattBndsY.max()+pattBndsY.min())/2;
+ y -= pattBndsY.middle();
int nbCopies = int(uskeleton.cuts.back()/pattBnds.extent());
double scaling = 1;