Commit d692152
Fix straight lines in Beziér tool
Changed files (2)
Diff
@@ -398,6 +398,8 @@ public class BezierTool : Tool { 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);@@ -79,7 +79,7 @@ public class Toolbox : GLib.Object { 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 ();