Skip to content

Early return in vtkSMPVRepresentationProxy::GetLUTProxy to avoid volume rendering warning

Julien Fausty requested to merge julien.fausty/paraview:fixLUTWarning into master

In 6136acc0 a change was introduced that made calling vtkSMPVRepresentationProxy::SetScalarBarVisibility with a nullptr view throw an error (only when using mesa?).

This MR implements a minimal fix by exiting the method preemptively when view is a nullptr effectively reverting a portion of the above mentionned commit.

Edited by Mathieu Westphal (Kitware)

Merge request reports