Skip to content

Ensure that the representation is removed from renderer

Sankhesh Jhaveri requested to merge sankhesh/vtk:widget_renderer into master

Disabling the widget ensures that the current renderer is set to nullptr in vtkAbstractWidget. However, some widgets may still keep their representation in the renderer. This change ensures that the representation is removed when the widget is destroyed irrespective of whether the current renderer is set on the widget.

Merge request reports