Actual behavior:
Using the right-click context of a segmentation node to perform the "Create Polygon Model"-action, a a surface node is created as a child node of the selected segmentation node.
Selecting another segmentation node, the previously selected segmentation node and its parent image node are hidden, as expected. However, the surface node stays visible.
Expected behavior:
As the surface child node of a segmentation node belongs to this segmentation and its parent image node, the surface child node should be hidden as well when the user selects another segmentation node.
To reproduce: Predondition: Activate "Enable auto-selection mode" in the segmentation preference page
- load two images
- open the segmentation plugin
- create two new segmentations, one for each image
- right click on one of the newly created segmentation nodes and choose "Create Polygon Model"
- notice that the surface node is added to the segmentation node as a child node
- select the other segmentation
- notice how both the previously selected segmentation node and its parent node are hidden while the surface node stays visible