summaryrefslogtreecommitdiffstats
path: root/src/ui/tool
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-15 21:57:46 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commit68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f (patch)
tree3fd3ba1952ed5dac5d15e50c52cc7c93c63db2b5 /src/ui/tool
parentRevert TAV d work for testing (diff)
downloadinkscape-68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f.tar.gz
inkscape-68b814629fa76cca0e2bdb36dfd1aa0d09e1ce7f.zip
Noumerous bugfixes pointed by Lazur on IRC
Diffstat (limited to 'src/ui/tool')
-rw-r--r--src/ui/tool/transform-handle-set.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/tool/transform-handle-set.cpp b/src/ui/tool/transform-handle-set.cpp
index f64b9732e..23cd6b79d 100644
--- a/src/ui/tool/transform-handle-set.cpp
+++ b/src/ui/tool/transform-handle-set.cpp
@@ -258,7 +258,6 @@ protected:
virtual Geom::Affine computeTransform(Geom::Point const &new_pos, GdkEventMotion *event) {
Geom::Point scc = held_shift(*event) ? _sc_center : _sc_opposite;
Geom::Point vold = _origin - scc, vnew = new_pos - scc;
-
// avoid exploding the selection
if (Geom::are_near(vold[Geom::X], 0) || Geom::are_near(vold[Geom::Y], 0))
return Geom::identity();
@@ -286,7 +285,6 @@ protected:
}
m.snapTransformed(_snap_points, _origin, (*ptr));
m.unSetup();
-
if (ptr->best_snapped_point.getSnapped()) {
scale = ptr->getScaleSnapped();
}