diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-03-05 06:20:24 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-03-05 06:20:24 +0000 |
| commit | 250a3f447a10e11755c1c656faa070b3571320c0 (patch) | |
| tree | cba8cab2220b6494bad50164562ee20817da40f5 /src/nodepath.cpp | |
| parent | Add option to only flash paths for node tool when none is selected. Applies p... (diff) | |
| download | inkscape-250a3f447a10e11755c1c656faa070b3571320c0.tar.gz inkscape-250a3f447a10e11755c1c656faa070b3571320c0.zip | |
Control when shift affects moving of handles. Applies patch from bug #245698.
(bzr r7421)
Diffstat (limited to 'src/nodepath.cpp')
| -rw-r--r-- | src/nodepath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp index a880baba2..bd8dffc4e 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -4055,8 +4055,8 @@ static void node_handle_moved(SPKnot *knot, Geom::Point const &p, guint state, g rnew.r = me->origin_radial.r; } - if (( n->type !=Inkscape::NodePath::NODE_CUSP || (state & GDK_SHIFT_MASK)) - && rme.a != HUGE_VAL && rnew.a != HUGE_VAL && (fabs(rme.a - rnew.a) > 0.001 || n->type ==Inkscape::NodePath::NODE_SYMM)) { + if (( n->type !=Inkscape::NodePath::NODE_CUSP || (!n->dragging_out && (state & GDK_SHIFT_MASK))) + && (rme.a != HUGE_VAL) && (rnew.a != HUGE_VAL) && ((fabs(rme.a - rnew.a) > 0.001) || (n->type ==Inkscape::NodePath::NODE_SYMM))) { // rotate the other handle correspondingly, if both old and new angles exist and are not the same rother.a += rnew.a - rme.a; other->pos = Geom::Point(rother) + n->pos; |
