Commit cdfeea7c authored by miller86's avatar miller86
Browse files

fixing problem setting SIL for material subsetted variable when SIL is already in cache

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@12433 18c085ea-50e0-402c-830e-de6fd14e8384
parent abdec6f9
......@@ -5256,6 +5256,9 @@ InitializeSILRestrictionFromDatabase(avtSILRestriction_p tmpSilr, int topSet,
//
// Mark C. Miller, Sun Aug 29 23:33:21 PDT 2010
// Added logic to set SIL when variable is defined on subsets (materials).
//
// Mark C. Miller, Thu Sep 2 20:58:05 PDT 2010
// Added missing call to SetTopSet for subsetted variables.
// ****************************************************************************
avtSILRestriction_p
......@@ -5384,6 +5387,7 @@ ViewerPlotList::GetDefaultSILRestriction(const std::string &host,
intVector restrictToMats = md->GetRestrictedMatnos(realvar);
if (restrictToMats.size())
{
silr->SetTopSet(topSet);
silr->RestrictToSetsOfRole((int)SIL_MATERIAL, restrictToMats);
}
}
......
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