Commit 09c15ac5 authored by whitlocb's avatar whitlocb
Browse files

Fix a bug in the Spreadsheet plot when it has multiple domains.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@11558 18c085ea-50e0-402c-830e-de6fd14e8384
parent 2d1cd395
......@@ -14,6 +14,7 @@
<p>Welcome to VisIt's release notes page. Release 2.0.1 is primarily a bug fix release to release 2.0. It fixes additional bugs in release 2.0. Look <a href="relnotes2.0.0.html">here</a> to see a complete list of changes in release 2.0.</p>
<p><b><font size="4">Bugs fixed in version 2.0.1</font></b></p>
<ul>
<li>A bug was fixed in the Spreadsheet plot, restoring its ability to select the domain whose data is shown.</li>
<li>The resample operator's distributed resampling mode now works correctly in parallel (as one would expect).</li>
<li>A bug was fixed where number of passive scalars in legacy Nek files was being misinterpreted.</li>
<li>If a non-compliant Nek file is encountered, VisIt is better at reporting to the user why the file is non-compliant.</li>
......
......@@ -601,10 +601,12 @@ Definition:
// Creation: Wed Feb 21 11:36:13 PDT 2007
//
// Modifications:
//
// Hank Childs, Mon Dec 14 16:04:01 PST 2009
// Add support for new SIL interface.
//
// Brad Whitlock, Thu Jun 3 14:39:43 PDT 2010
// I fixed a bug with the SIL changes.
//
// ****************************************************************************
#include <avtSILRestriction.h>
#include <ViewerPlot.h>
......@@ -631,7 +633,7 @@ SpreadsheetViewerPluginInfo::PrivateSetPlotAtts(AttributeSubject *atts,
avtSILCollection_p collection = silr->GetSILCollection(cIndex);
if(*collection != NULL && collection->GetRole() == SIL_DOMAIN)
{
int nSets = collection->GetNumberOfSubsets();
nSets = collection->GetNumberOfSubsets();
for(size_t si = 0; si < nSets && !validName; ++si)
{
if(!firstNameSet)
......
......@@ -549,10 +549,12 @@ SpreadsheetViewerPluginInfo::AlternateDisplayDeIconify(void *dpy)
// Creation: Wed Feb 21 11:36:13 PDT 2007
//
// Modifications:
//
// Hank Childs, Mon Dec 14 16:04:01 PST 2009
// Add support for new SIL interface.
//
// Brad Whitlock, Thu Jun 3 14:39:43 PDT 2010
// I fixed a bug with the SIL changes.
//
// ****************************************************************************
#include <avtSILRestriction.h>
#include <ViewerPlot.h>
......@@ -579,7 +581,7 @@ SpreadsheetViewerPluginInfo::PrivateSetPlotAtts(AttributeSubject *atts,
avtSILCollection_p collection = silr->GetSILCollection(cIndex);
if(*collection != NULL && collection->GetRole() == SIL_DOMAIN)
{
int nSets = collection->GetNumberOfSubsets();
nSets = collection->GetNumberOfSubsets();
for(size_t si = 0; si < nSets && !validName; ++si)
{
if(!firstNameSet)
......
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