Page MenuHomePhabricator

Picking tool - node missing and Crash
Closed, ResolvedPublic

Description

the picking tool does not create new node in data manager when a region is picked
it shows up in the segmentation->data selection->segmentation selector but crashes the program when selected

also: i could only pick the last region i grew (e.g. out of 2 grown regions with Fast march 3D)

Event Timeline

to reproduce crash:
with autoselect activated
load some image (e.g. Pic3D)
create new segmentation, add sth.
create second segmentation, add sth.
pick sth. (do not confirm)
change back to first segmentation
pick sth. (do not confirm) -> you cant see your pick
deselect picking
reselect picking
select "result" in segmentation view drop down menu -> crash

User kislinsk has pushed new remote branch:

bug-18205-MakePickingToolMoreRobust

Made the picking tool more robust.

If the working image is changed when the tool is activated, the helper object nodes are removed from the previous working image and added to the new working image on the next shift-click. For example, when you pick a region in SegA, switch to SegB and than pick a region there, that region is picked just as expected.

The picking result is not added to the top-level of the data storage anymore but to the reference data and it is named after its source working image plus "_picked".

Helper object segmentations do not appear in the data selection combo box anymore.

[0def15]: Merge branch 'bug-18205-MakePickingToolMoreRobust'

Merged commits:

2014-10-16 04:00:29 Stefan Kislinskiy [6c4bd0]
Made activated picking tool more robust regarding to working data changes.