Commit 2d67f639 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Opacity function doesn't support log mapping.

Since piecewise funciton doesn't log mapping, vtkCompositeControlPointsItem
cannot support showing log-space when in opacity-function mode.

Change-Id: Ib74dddcd347fd49aa2f6bc36cdc9a3daedf6f76c
parent 723a4691
......@@ -157,7 +157,8 @@ void vtkCompositeControlPointsItem::SetColorTransferFunction(vtkColorTransferFun
bool vtkCompositeControlPointsItem::UsingLogScale()
return (this->ColorTransferFunction &&
return (this->PointsFunction != OpacityPointsFunction &&
this->ColorTransferFunction &&
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