Skip to content

BUG: Fix #3214

Created by: lchauvin

#3214: Hiding and deleting fiducials does not affect their 2d projections

The projection is creating object (vtkSeedWidget) to represent the projection on the 2D viewers. However, when the fiducial was removed, the vtkSeedWidget objects were staying, so projection was still visible. In the RemoveWidgetAndNode, I forgot to include the code where the objects (vtkSeedWidget) related to the fiducial were deleted. That's what I added here. It's also true for rulers and their projection.

Merge request reports