diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2011-09-16 23:00:05 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mail@diedenrezi.nl> | 2011-09-16 23:00:05 +0000 |
| commit | ee17bac8a5d9b6bf840272885c1eda57c45fb4ad (patch) | |
| tree | 2df5e6001c742e2f7a73007977c75ecd86fb7947 /src/seltrans.cpp | |
| parent | Correct the formula of the displacement map so that zero alpha value (diff) | |
| download | inkscape-ee17bac8a5d9b6bf840272885c1eda57c45fb4ad.tar.gz inkscape-ee17bac8a5d9b6bf840272885c1eda57c45fb4ad.zip | |
Node tool, transforming a set of nodes: Fix crashes, and finish implementation of snapping
Fixed bugs:
- https://launchpad.net/bugs/590261
(bzr r10633)
Diffstat (limited to 'src/seltrans.cpp')
| -rw-r--r-- | src/seltrans.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp index 20013ab0c..c6dd0a34d 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -1221,9 +1221,8 @@ gboolean Inkscape::SelTrans::skewRequest(SPSelTransHandle const &handle, Geom::P if (sn.getSnapped()) { // We snapped something, so change the skew to reflect it - Geom::Coord const sd = sn.getSnapped() ? sn.getTransformation()[0] : Geom::infinity(); + skew[dim_a] = sn.getTransformation()[0]; _desktop->snapindicator->set_new_snaptarget(sn); - skew[dim_a] = sd; } else { _desktop->snapindicator->remove_snaptarget(); } |
