diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2009-03-15 22:10:43 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2009-03-15 22:10:43 +0000 |
| commit | 7fe5d57fe8762253b743c760c5126aa912466191 (patch) | |
| tree | e533d289fe40f43fde011d2fedfe16ac0dd1d557 /src/live_effects/lpe-bendpath.cpp | |
| parent | Envelope Deform LPE is no longer experimental (diff) | |
| download | inkscape-7fe5d57fe8762253b743c760c5126aa912466191.tar.gz inkscape-7fe5d57fe8762253b743c760c5126aa912466191.zip | |
correctly implement 'resetDefaults()' for LPEs. Now when applying an LPE, all default values are written to SVG. This greatly improves future compatibility.
(bzr r7499)
Diffstat (limited to 'src/live_effects/lpe-bendpath.cpp')
| -rw-r--r-- | src/live_effects/lpe-bendpath.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/live_effects/lpe-bendpath.cpp b/src/live_effects/lpe-bendpath.cpp index c3be57981..a820fe478 100644 --- a/src/live_effects/lpe-bendpath.cpp +++ b/src/live_effects/lpe-bendpath.cpp @@ -124,6 +124,8 @@ LPEBendPath::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd void LPEBendPath::resetDefaults(SPItem * item) { + Effect::resetDefaults(item); + original_bbox(SP_LPE_ITEM(item)); Geom::Point start(boundingbox_X.min(), (boundingbox_Y.max()+boundingbox_Y.min())/2); |
