Commit 8f1cf01c authored by bonnell's avatar bonnell

Fix issue with using groupNames as dataset labels

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@21714 18c085ea-50e0-402c-830e-de6fd14e8384
parent 7e889ce6
......@@ -5006,6 +5006,10 @@ avtGenericDatabase::ActivateTimestep(int stateIndex)
// Kathleen Biagas, Tue Aug 27 16:58:30 PDT 2013
// Add support for groupNames.
//
// Kathleen Biagas, Wed Aug 28 08:51:16 PDT 2013
// Fixed error where domains[i] wasn't being used to get the correct
// groupName, resulting in incorrect labels for the SIL selection.
//
// ****************************************************************************
void
......@@ -5194,7 +5198,7 @@ avtGenericDatabase::ReadDataset(avtDatasetCollection &ds, intVector &domains,
{
char temp[512];
if (!groupNames.empty() && !gIds.empty())
sprintf(temp, "%s", groupNames[gIds[i]].c_str());
sprintf(temp, "%s", groupNames[gIds[domains[i]]].c_str());
else if (gIds.size() != 0)
sprintf(temp, "%d", gIds[domains[i]]);
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