Page MenuHomePhabricator

Classic segmentation live wire tool crashes when changing image slice while creating contours
Closed, ResolvedPublic

Description

This was reported internally from Benedikt Kersjes (E010).

Event Timeline

kislinsk triaged this task as Normal priority.Dec 12 2018, 3:48 PM
kislinsk created this task.
kislinsk moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Dec 13 2018, 9:07 AM

The LiveWire tool stores a reference to a PlaneGeometry as raw pointer. Of course this doesn't go well for long and the pointer is invalid when scrolling through the image slices while drawing a contour. I replaced the raw pointer by a smart pointer. I also cleaned up the code.