diff options
| author | Adrien Tétar | 2015-11-08 17:44:55 +0100 |
|---|---|---|
| committer | Adrien Tétar | 2015-11-08 17:50:19 +0100 |
| commit | 3fc6e4a8c7a50cd1f1250921ff5a795a5c4eba81 (patch) | |
| tree | 8216ebc2133b8536e303266c99850d9c25d7cbec | |
| parent | e76c9c366ac30d6fb5941531810dcbe12bbeed96 (diff) | |
| download | trufont-3fc6e4a8c7a50cd1f1250921ff5a795a5c4eba81.tar.bz2 | |
glyphView: don't try to cut move segments
| -rw-r--r-- | Lib/defconQt/glyphView.py | 2 |
1 files changed, 2 insertions, 0 deletions
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( |
