The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix straight lines in Beziér tool

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

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Thu, 03 Nov 2016 09:16:30 +0000]

Updated Files

libbirdfont/BezierTool.vala
libbirdfont/Toolbox.vala
--- a/libbirdfont/BezierTool.vala +++ b/libbirdfont/BezierTool.vala @@ -398,6 +398,8 @@ if (s > 2) { p = current_path.points.get (s - 2); + p.set_tie_handle (false); + p.set_reflective_handles (false); p.get_right_handle ().convert_to_line (); current_point.get_left_handle ().convert_to_line (); current_path.recalculate_linear_handles_for_point (p);
--- a/libbirdfont/Toolbox.vala +++ b/libbirdfont/Toolbox.vala @@ -79,7 +79,7 @@ tool_sets.add (spacing_class_tools); tool_sets.add (background_tools); // the menu has all the file_tools commands, it will not be added here - tool_sets.add (hidden_tools); // tools without a button + tool_sets.add (hidden_tools); // tools without buttons current_set = file_tools; current_set.selected ();