The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Don't tie handles when a single handle is moved in Beziér tool

These changes was commited to the Birdfont repository Thu, 03 Nov 2016 09:48:36 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 03 Nov 2016 09:48:36 +0000 (10:48 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 03 Nov 2016 09:48:36 +0000 (10:48 +0100)
commit e6ed46b64dcae27927d420e2c8f5be6a2b96c1a6
tree c7ecc99479a3d295985d5ce1f4cf3dd2f24f2fbb
parent ce23f15c6e95da271c6f7edb364e6f8501c37ebb
Don't tie handles when a single handle is moved in Beziér tool

libbirdfont/BezierTool.vala
--- a/libbirdfont/BezierTool.vala +++ b/libbirdfont/BezierTool.vala @@ -444,6 +444,8 @@ current_path.delete_last_point (); current_path.reset_stroke (); current_point = current_path.get_last_point (); + current_point.set_tie_handle (false); + current_point.set_reflective_handles (false); state = MOVE_HANDLES; } else { state = swap ? MOVE_LAST_HANDLE_RIGHT : MOVE_LAST_HANDLE_LEFT;