Commit cfdc0315 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

trace when scalar coloring is disabled.

Fixes #18304.
parent 8f65d9ab
......@@ -514,6 +514,10 @@ bool vtkSMPVRepresentationProxy::SetScalarColoringInternal(
if (arrayname == NULL || arrayname[0] == '\0')
{
SM_SCOPED_TRACE(SetScalarColoring)
.arg("display", this)
.arg("arrayname", arrayname)
.arg("attribute_type", attribute_type);
vtkSMPropertyHelper(this, "LookupTable", true).RemoveAllValues();
vtkSMPropertyHelper(this, "ScalarOpacityFunction", true).RemoveAllValues();
this->UpdateVTKObjects();
......
Markdown is supported
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