Code

Node tool: fix moving multiple nodes along handles (Ctrl+Alt)
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Thu, 16 Dec 2010 19:28:30 +0000 (20:28 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Thu, 16 Dec 2010 19:28:30 +0000 (20:28 +0100)
src/ui/tool/control-point-selection.cpp

index 91e0bc2c242d367a8b1fc12496593f779f012b22..baa53f76ea920b8e4d208393b25184e4f11e679b 100644 (file)
@@ -290,7 +290,7 @@ void ControlPointSelection::_pointDragged(Geom::Point &new_pos, GdkEventMotion *
 {
     Geom::Point abs_delta = new_pos - _original_positions[_grabbed_point];
     double fdist = Geom::distance(_original_positions[_grabbed_point], _original_positions[_farthest_point]);
-    if (held_alt(*event) && fdist > 0) {
+    if (held_only_alt(*event) && fdist > 0) {
         // Sculpting
         for (iterator i = _points.begin(); i != _points.end(); ++i) {
             SelectableControlPoint *cur = (*i);