Commit 8cc9fd9
Convert segment to line in Beziér tool
Changed files (3)
modifiedlibbirdfont/BezierTool.valamodifiedlibbirdfont/EditPointHandle.valamodifiedscripts/version.py
Diff
@@ -309,13 +309,23 @@ public class BezierTool : Tool { EditPoint first, last; first = current_path.get_first_point ();+ + if (first.get_left_handle ().length == 0) {+ first.get_left_handle ().convert_to_line ();+ }+ if (first.get_right_handle ().length == 0) {- first.convert_to_line ();+ first.get_right_handle ().convert_to_line (); }-+ last = current_path.get_last_point ();+ if (last.get_left_handle ().length == 0) {- last.convert_to_line ();+ last.get_left_handle ().convert_to_line ();+ }+ + if (last.get_right_handle ().length == 0) {+ last.get_right_handle ().convert_to_line (); } } @@ -150,6 +150,9 @@ public class EditPointHandle : GLib.Object { } public void convert_to_line () {+ parent.tie_handles = false;+ parent.reflective_point = false;+ switch (type) { case PointType.QUADRATIC: type = PointType.LINE_QUADRATIC;@@ -13,7 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. """ -VERSION = '2.19.2'+VERSION = '2.19.3' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR