Commit d8b29ed5 authored by bonnell's avatar bonnell

Fix a few issues found on windows machine (using variable before it is set,...

Fix a few issues found on windows machine (using variable before it is set, missing includes).  Update release notes to include lineout-sampling-mode fix, transfrom curves fix, reading .vti files fix, .visit files generated on unix readable on windows, queries from multiple window fix, log-scaling crash.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@3837 18c085ea-50e0-402c-830e-de6fd14e8384
parent d29d15d0
......@@ -1034,6 +1034,9 @@ avtUnstructuredDomainBoundaries::ExchangeCleanMaterials(vector<int> domainNum,
// Hank Childs, Tue Mar 4 13:29:48 PST 2008
// Account for domains that do not have mixed variables.
//
// Kathleen Bonnell, Thu Apr 10 17:56:33 PDT 2008
// Removed redefinition of 'i'.
//
// ****************************************************************************
vector<avtMixedVariable*>
......@@ -1043,7 +1046,6 @@ avtUnstructuredDomainBoundaries::ExchangeMixVar(vector<int> domainNum,
{
int i, j;
vector<int> domain2proc = CreateDomainToProcessorMap(domainNum);
int **nGainedMixlen;
......@@ -1061,7 +1063,7 @@ avtUnstructuredDomainBoundaries::ExchangeMixVar(vector<int> domainNum,
// zones that are mixed.)
//
const char *mixvarname = NULL;
for (int i = 0 ; i < mixvars.size() ; i++)
for (i = 0 ; i < mixvars.size() ; i++)
if (mixvars[i] != NULL)
mixvarname = mixvars[i]->GetVarname().c_str();
......
......@@ -42,9 +42,9 @@
#include <windows.h>
#else
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#endif
#include <sys/stat.h>
#include <signal.h>
#include <stdio.h>
#include <string.h>
......
......@@ -328,6 +328,9 @@ GetNextArg(int argc, char **argv, int start, int &nargs)
// Kathleen Bonnell, Wed Jan 9 11:17:40 PST 2008
// Changed arg type from const char * to const std::string.
//
// Kathleen Bonnell, Fri Apr 11 08:28:53 PDT 2008
// Added WINAPI to def of pathFuncType.
//
// ****************************************************************************
std::string
......@@ -347,7 +350,7 @@ LongFileName(const std::string &shortName)
// Use the GetLongPathName function.
if(func)
{
typedef DWORD (pathFuncType)(LPCTSTR, LPTSTR, DWORD);
typedef DWORD (WINAPI pathFuncType)(LPCTSTR, LPTSTR, DWORD);
pathFuncType *lfn = (pathFuncType *)func;
char *buf = new char[1000];
if(lfn(shortName.c_str(), buf, 1000) != 0)
......
......@@ -255,8 +255,19 @@ enhancements and bug-fixes that were added to this release.</p>
<li>Performance problems with FLASH AMR files have been resolved.</li>
<li>Bugs in the CCM reader have been fixed for files that contain only a mesh and
files with unusual internal indexing.</li>
<li>Bugs in the CCM reader have been fixed for files that contain only a mesh and files with unusual internal indexing.</li>
<li>VisIt's viewer will no longer crash when switching to log scaling.</li>
<li>Lineout's sampling mode no longer recenters zone-center variables.</li>
<li>Applying the transform operator to curve plots works correctly again for transformations on the y-axis.</li>
<li><b>.visit</b> files generated on unix can now successfully be read on windows systems, and vice-versa.</li>
<li>VisIt now reads in and plots VTK's <b>.vti</b> format.</li>
<li>Queries from the same database, but different windows, no longer returns incorrect results.</li>
</ul>
<p>Click the following link to view the release notes for the 1.8.1 patch version
......
......@@ -1068,6 +1068,9 @@ void vtkVisItClipper::RectilinearGridExecute(void)
// Added code to compute both sides of clip in one execute. Added code
// to adjust percent to zero crossings if requested.
//
// Kathleen Bonnell, Wed Apr 9 09:01:20 PDT 2008
// Initialize interpIDtmp, so it will not be used before being set.
//
// ****************************************************************************
void vtkVisItClipper::UnstructuredGridExecute(void)
......@@ -1244,7 +1247,7 @@ void vtkVisItClipper::UnstructuredGridExecute(void)
int npts;
int interpID = -1;
int interpIDOut = -1;
int interpIDtmp;
int interpIDtmp = -1;
int color = -1;
switch (shapeType)
{
......
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