There are several places, where the FiberExtractionView is not removing its contents properly when a node is deleted ( either directly or by closing the whole project )
(1) Suspicious creation:
- if we have a single fiber datanode in the storage and remove it, the OnSelectionChanged() method will currently re-create ( store a member ) the node to be deleted. this happens on Line 829: if (m_SelectedFB.empty()) {...} In case of node deletion, the first part of the method ( for loop over the retrieved nodes) does nothing, but inside the if block, the View is getting all nodes from the DataManager, which includes the node currently selected to be deleted.
=> this leads to a situation, that the PlanarFigure buttons are active even though there are no nodes in the DS
(2) Statistics cleanup: - the ComputeStatistics() method does not reset the text in case the m_SelectedFB vector is empty, i.e. on deletion of the previously loaded fiber node