- changed status to resolved
ART crash when resetting the mask's Shape list
Issue #81
resolved
Steps to reproduce :
- create a Polygon shape, empty or non empty
- delete any other shapes (the Polygon should be selected)
- enter the Edit mode (not sure it is required)
- hit the reset button
- → crash
The problem is in LabMasksPanel::onAreaShapeResetPressed
where the Polygon geometry is deleted, but there’s no Rectangle shape to switch to now, so the updateGeometry
works on deleted objects.
If you tell me what is the desired behavior now, I can probably provide a patch. Unless you prefer to solve it yourself.
Comments (4)
-
repo owner -
repo owner thanks – it was easier to fix (I hope
than to describe what to do, so I just did it. Can you please check that it works for you as well?
-
reporter @agriggio Works great ! If all bugs were that simple to fix
-
repo owner - Log in to comment
labmasks: fixed segfault when resetting the area mask
Fixes
#81→ <<cset d57492896d2f>>