From 3fc6e4a8c7a50cd1f1250921ff5a795a5c4eba81 Mon Sep 17 00:00:00 2001 From: Adrien Tétar Date: Sun, 8 Nov 2015 17:44:55 +0100 Subject: glyphView: don't try to cut move segments --- Lib/defconQt/glyphView.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/defconQt/glyphView.py') diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py index b8241e0..811dd14 100644 --- a/Lib/defconQt/glyphView.py +++ b/Lib/defconQt/glyphView.py @@ -1803,6 +1803,8 @@ class GlyphScene(QGraphicsScene): for contour in glyph: segments = contour.segments for index, seg in enumerate(segments): + if seg[-1].segmentType == "move": + continue prev = segments[index - 1][-1] if len(seg) == 3: i = self.computeIntersections( -- cgit v1.2.3