Commit 4e799d29 authored by whitlocb's avatar whitlocb
Browse files

Fix filter metadata in Threshold operator in cause upper/lower bounds are empty.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23132 18c085ea-50e0-402c-830e-de6fd14e8384
parent e08050e3
......@@ -206,6 +206,8 @@ avtThresholdPluginFilter::UpdateDataObjectInfoCB(avtDataObject_p &input,
std::string params;
int nvars = (int)(t.GetListedVarNames().size());
for(int i = 0; i < nvars; ++i)
{
if(i < t.GetLowerBounds().size() && i < t.GetUpperBounds().size())
{
SNPRINTF(tmp, 200, "%lg < ", t.GetLowerBounds()[i]);
params += tmp;
......@@ -218,5 +220,6 @@ avtThresholdPluginFilter::UpdateDataObjectInfoCB(avtDataObject_p &input,
if(i < nvars-1)
params += ", ";
}
}
outAtts.AddFilterMetaData("Threshold", params);
}
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