Page MenuHomePhabricator

After closing segmentation view, segmentation interactor does not work any longer
Closed, ResolvedPublic

Description

Steps to reproduce crash:

  1. load an image (I used Pic3d.nrrd)
  2. open segmentation view
  3. create a segmentation (don't use add, regiongrowing, etc.)
  4. close segmentation view
  5. select segmentation in datamanager
  6. open segmentation view
  7. choose an editing tool (eg. add)
  8. try to paint in the picture (here does only the crosshair move)

Event Timeline

New remote branch pushed: bug-14176-FixReactivatingSegmentationView

[7088c8]: Merge branch 'bug-14176-FixReactivatingSegmentationView'

Merged commits:

2013-01-09 16:54:31 Christian Weber [61f7c9]
Fixed reactivating the SegmentationView which missed to re-read the image related to the segmentation

For the interaction to work, the plugin depends on the user to have first clicked on the image. If the plugin in deactivated and activate, and the selection in the datamanager is on the segmentation, the interaction will fail.
To fix this, a line that selects first the image is added, in order to simulate the user clicking first on the image and then on the segmentation, since this yields the expected behavior.

New remote branch pushed: bug-14176-FixCrashWhenActivatingSegmentationView

[06068d]: Merge branch 'bug-14176-FixCrashWhenActivatingSegmentationView'

Merged commits:

2013-01-10 18:01:15 Christian Weber [f56468]
Fix Crash by guarding against empty image list.

sencond patch added, since the first one cause a crash when the image list was empty.