labelme icon indicating copy to clipboard operation
labelme copied to clipboard

[BUG] LabelMe crashes when clicking on point in a line annotation, while holding shift

Open 307321587 opened this issue 2 years ago • 0 comments

Describe the bug When deleting some line annotations, holding shift and clicking the points of a line causes LabelMe crashes

Traceback (most recent call last):
  File "widgets/canvas.py", line 305, in mouseMoveEvent
  File "shape.py", line 230, in containsPoint
  File "shape.py", line 254, in makePath
IndexError: list index out of range
Aborted (core dumped)

Expected behavior No crash After deleting the points, the line annotations will be also delete

Screenshots

2022-03-24_9-54-43

Desktop (please complete the following information):

OS: Ubuntu 20.04 Labelme Version [e.g. 5.0.1]

307321587 avatar Mar 24 '22 02:03 307321587