Commit 69c61806 authored by Spiros Tsalikis's avatar Spiros Tsalikis
Browse files

vtkSMPVRepresentationProxy: Fix rescale to visible data range

Fix issues #21585
parent 2ba26e00
Pipeline #304237 passed with stages
......@@ -492,7 +492,7 @@ bool vtkSMPVRepresentationProxy::RescaleTransferFunctionToVisibleRange(
vtkSMProperty* sofProperty = this->GetProperty("ScalarOpacityFunction");
vtkSMProperty* useTransfer2DProperty = this->GetProperty("UseTransfer2D");
vtkSMProperty* transfer2DProperty = this->GetProperty("TransferFunction2D");
if ((!lutProperty && !sofProperty) || (!useTransfer2DProperty && !transfer2DProperty))
if ((!lutProperty && !sofProperty) && (!useTransfer2DProperty && !transfer2DProperty))
{
// No LookupTable and ScalarOpacityFunction found.
// No UseTransfer2D and TransferFunction2D found.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment