Commit 479213b4 authored by hrchilds's avatar hrchilds
Browse files

Update from April 5, 2004

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@213 18c085ea-50e0-402c-830e-de6fd14e8384
parent 8a0335e3
......@@ -24,6 +24,7 @@
#include <DebugStream.h>
#include <InvalidVariableException.h>
#include <InvalidDimensionsException.h>
#include <VisItException.h>
#include <snprintf.h>
#include <float.h>
......@@ -152,6 +153,10 @@ avtCompactnessQuery::PreExecute(void)
// STL vectors. Added code to collect the boundary points
// across all processors.
//
// Jeremy Meredith, Mon Apr 5 14:17:25 PDT 2004
// Added a check to make sure we got at least *some* boundary data.
// We will wind up with invalid results if there are no boundaries.
//
// ****************************************************************************
void
......@@ -202,6 +207,12 @@ avtCompactnessQuery::MidExecute(void)
}
}
#endif
if (xBound.size() == 0)
EXCEPTION1(VisItException, "There were no boundaries, but these "
"are needed to compute some of the compactness queries. "
"You may be using this query in an unexpected way; please "
"contact a VisIt developer.");
}
// ****************************************************************************
......
......@@ -865,6 +865,10 @@ ViewerQueryManager::GetQueryClientAtts()
// Kathleen Bonnell, Thu Apr 1 19:13:59 PST 2004
// Added bool arg to support queries-over-time.
//
// Jeremy Meredith, Mon Apr 5 14:15:56 PDT 2004
// Added a line to clear out status in case of an exception occuring
// during a query.
//
// ****************************************************************************
void
......@@ -1227,6 +1231,7 @@ ViewerQueryManager::DatabaseQuery(ViewerWindow *oWin, const string &qName,
e.GetMessage().c_str());
}
ClearStatus(engineKey.ID().c_str());
if (!retry)
{
queryClientAtts->Notify();
......
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