summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-envelope.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-12 18:16:37 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-12 18:16:37 +0000
commitb6a95dd9fc5bb92dbae17557cb7fb39234545be6 (patch)
tree4225c97daf587ffca0ee934774039b19c7b6d6fa /src/live_effects/lpe-envelope.cpp
parentadd POPPLER_NEW_GFXFONT for poppler 0.8.3 api change (diff)
downloadinkscape-b6a95dd9fc5bb92dbae17557cb7fb39234545be6.tar.gz
inkscape-b6a95dd9fc5bb92dbae17557cb7fb39234545be6.zip
LPE Enveloppe: return input path when xx and yy are both false
(bzr r5911)
Diffstat (limited to 'src/live_effects/lpe-envelope.cpp')
-rwxr-xr-xsrc/live_effects/lpe-envelope.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live_effects/lpe-envelope.cpp b/src/live_effects/lpe-envelope.cpp
index db16ae2eb..9ebe97b9f 100755
--- a/src/live_effects/lpe-envelope.cpp
+++ b/src/live_effects/lpe-envelope.cpp
@@ -215,6 +215,9 @@ LPEEnvelope::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd
/*Of course, the result is not perfect, but on a graphical point of view, this is sufficent.*/
}
+
+ // do nothing when xx and yy are both false
+ return pwd2_in;
}
void