Skip to content

Modify SafeDownCast in vtkSMRenderViewProxy

Change vtkSMPVRepresentationProxy::SafeDownCast into vtkSMRepresentationProxy::SafeDownCast in the vtkSMRenderViewProxy::ConvertDisplayToPointOnSurface method because the former appears to be too much (and unnecessary) restrictive.

This change allow to use this method with representations inheriting from vtkPVDataRepresentation directly (whose proxy cannot be cast to vtkSMPVRepresentationProxy).

Edited by Thomas Galland

Merge request reports