Commit 7260d83f authored by allens's avatar allens

fix for the when the colortable opactiy should be used

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@22240 18c085ea-50e0-402c-830e-de6fd14e8384
parent 2f1e4425
......@@ -577,8 +577,9 @@ avtPseudocolorPlot::SetAtts(const AttributeGroup *a)
colorsInitialized = true;
SetColorTable(atts.GetColorTableName().c_str());
}
else
SetOpacityFromAtts();
SetOpacityFromAtts();
SetLighting(atts.GetLightingFlag());
SetLegend(atts.GetLegendFlag());
......@@ -1009,7 +1010,10 @@ avtPseudocolorPlot::SetOpacityFromAtts()
behavior->SetRenderOrder(MUST_GO_LAST);
behavior->SetAntialiasedRenderOrder(MUST_GO_LAST);
return true;
if (atts.GetOpacityType() == PseudocolorAttributes::ColorTable )
return true;
else
return false;
}
else
{
......
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