summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-03-23 14:57:26 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-03-23 14:57:26 +0000
commitc34969161a38e67408b654a8b308b45ca638811f (patch)
treec98720c20d87d89de4a8c69a3aae99e3f13f6a15 /src/ui/tool/path-manipulator.cpp
parentMauro based feedbak added some fixes (diff)
downloadinkscape-c34969161a38e67408b654a8b308b45ca638811f.tar.gz
inkscape-c34969161a38e67408b654a8b308b45ca638811f.zip
Remove extra code
(bzr r11950.1.69)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 84e300306..f8c5deea2 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -841,11 +841,6 @@ void PathManipulator::scaleHandle(Node *n, int which, int dir, bool pixel)
relpos *= ((rellen + length_change) / rellen);
}
h->setRelativePos(relpos);
-
- if(isBSpline){
- double pos = BSplineHandlePosition(h);
- h->setPosition(BSplineHandleReposition(h,pos));
- }
update();
gchar const *key = which < 0 ? "handle:scale:left" : "handle:scale:right";
_commit(_("Scale handle"), key);
@@ -870,12 +865,6 @@ void PathManipulator::rotateHandle(Node *n, int which, int dir, bool pixel)
}
h->setRelativePos(h->relativePos() * Geom::Rotate(angle));
-
- if(isBSpline){
- double pos = BSplineHandlePosition(h);
- h->setPosition(BSplineHandleReposition(h,pos));
- }
-
update();
gchar const *key = which < 0 ? "handle:rotate:left" : "handle:rotate:right";