Commit 061e4996 authored by dbremer's avatar dbremer

Added an early-out test to EnsureRestrictionCorrectness()

that can avoid creating a SIL on demand.


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@3139 18c085ea-50e0-402c-830e-de6fd14e8384
parent 61884e7c
......@@ -576,6 +576,9 @@ avtSILRestriction::SetTopSet(const char *meshname)
//
// Dave Bremer, Thu Dec 20 16:17:25 PST 2007
// Updated to handle avtSILArrays
//
// Dave Bremer, Mon Feb 4 17:23:52 PST 2008
// Added an early-out test that can avoid creating a SIL on demand.
// ****************************************************************************
SetState
......@@ -593,6 +596,10 @@ avtSILRestriction::EnsureRestrictionCorrectness(int setId)
// Use the state of the current set.
SetState retval = (SetState) useSet[setId];
// Early out to avoid creating a set on demand.
if (!SILSetHasMapsOut(setId))
return retval;
//
// Get the value for all of its subsets.
//
......
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