summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2014-07-11 18:28:15 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2014-07-11 18:28:15 +0000
commitac8283706beb41435d25ea5d880fe44d68679803 (patch)
tree7688519e79f3b8acea057019e288e4b878054b6f /src/seltrans.cpp
parentFix crash when ungrouping a group that has a filter applied to it (diff)
downloadinkscape-ac8283706beb41435d25ea5d880fe44d68679803.tar.gz
inkscape-ac8283706beb41435d25ea5d880fe44d68679803.zip
Fix regression introduced by rev 13446 / 13333
Fixed bugs: - https://launchpad.net/bugs/1256597 - https://launchpad.net/bugs/1340011 (bzr r13450)
Diffstat (limited to 'src/seltrans.cpp')
-rw-r--r--src/seltrans.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index d16e02e42..4b1a3a5fa 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -1321,16 +1321,6 @@ void Inkscape::SelTrans::stretch(SPSelTransHandle const &/*handle*/, Geom::Point
void Inkscape::SelTrans::scale(Geom::Point &/*pt*/, guint /*state*/)
{
- // E.g. scaling a perfectly vertical line in horizontal direction will not work, and will produce an identity affine
- // Applying a transformation is useless, so we will not attempt to do so because this might trigger other bugs
- // (see https://bugs.launchpad.net/inkscape/+bug/1256597)
- // We check for this here and not in transform because identity transformations are perfectly fine for for example
- // translations (e.g. a translation of (0,0), which occurs when snapping a point back to its original location)
-
- if (_absolute_affine.isIdentity()) {
- return;
- }
-
transform(_absolute_affine, Geom::Point(0, 0)); // we have already accounted for origin, so pass 0,0
}