diff options
Diffstat (limited to 'Lib/defconQt/glyphView.py')
| -rw-r--r-- | Lib/defconQt/glyphView.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py index 850a216..b8241e0 100644 --- a/Lib/defconQt/glyphView.py +++ b/Lib/defconQt/glyphView.py @@ -1832,6 +1832,9 @@ class GlyphScene(QGraphicsScene): for dot in self._knifeDots: self.removeItem(dot) self._knifeDots = [] + # no-move clicks + if self._cachedIntersections is None: + return # reverse so as to not invalidate our cached segment indexes for loc, ts in reversed(list(self._cachedIntersections.items())): contour, index = loc |
