diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2012-10-18 18:06:35 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2012-10-18 18:06:35 +0000 |
| commit | 9158a2ccc3f6238e3f511d078b4d0ef942f30e9b (patch) | |
| tree | cb4a833c8d624bfb1d36052c8088c4f835cfb031 /src/live_effects/lpe-perspective_path.cpp | |
| parent | Fix SVG formatting (EMF import): (diff) | |
| parent | Translations. Latvian translation update by Jānis Eisaks. (diff) | |
| download | inkscape-9158a2ccc3f6238e3f511d078b4d0ef942f30e9b.tar.gz inkscape-9158a2ccc3f6238e3f511d078b4d0ef942f30e9b.zip | |
merge from trunk (r11808)
(bzr r11668.1.30)
Diffstat (limited to 'src/live_effects/lpe-perspective_path.cpp')
| -rw-r--r-- | src/live_effects/lpe-perspective_path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp index f3cf802a1..aeee77482 100644 --- a/src/live_effects/lpe-perspective_path.cpp +++ b/src/live_effects/lpe-perspective_path.cpp @@ -149,13 +149,13 @@ void LPEPerspectivePath::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop namespace PP { void -KnotHolderEntityOffset::knot_set(Geom::Point const &p, Geom::Point const &origin, guint /*state*/) +KnotHolderEntityOffset::knot_set(Geom::Point const &p, Geom::Point const &origin, guint state) { using namespace Geom; LPEPerspectivePath* lpe = dynamic_cast<LPEPerspectivePath *>(_effect); - Geom::Point const s = snap_knot_position(p); + Geom::Point const s = snap_knot_position(p, state); lpe->offsetx.param_set_value((s - origin)[Geom::X]); lpe->offsety.param_set_value(-(s - origin)[Geom::Y]); // additional minus sign is due to coordinate system flipping |
