In the current release candidate version (Mo, 30.4.), a selected dwi image in the DataManager would not show up in the data selection of TensorReconstructionView on OS X. At least it did not work on my macbook yesterday. Jonas, could you please check the behaviour of the view?
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | None | T11549 Create the 2012 MITKDiffusion release | ||
Resolved | None | T11809 Node selection not working in TensorReconstructionView |
Event Timeline
The QmitkTensorReconstructionView is trying to avoid the DataNode casting in case a NodeSelectionChanged is fired but the view is not visible by checking
this->IsVisible() at the beginning of the implementation of OnNodeSelectionChanged(...)
Unfortunately, when switching to the view, both 'Active' and 'Visible' states of the view (still QmitkFunctionality) changes AFTER the NodeSelectionChanged Message is sent. Therefore a second 'click' on the node is necessary to propagate it to the view.
For time reasons, the quick-fix is to remove this check. After the release, this issue needs to be solved for all views to avoid unnecessary code execution (mainly casting of the selected node's data) possibly together with porting all views to QmitkAbstractView.
A new bug was opened for this issue in more general sense -> T11831.
The quick-fix as mentioned in previous comment was added to the Customizations for the 2012 Release. Closing bug.