Commit 5172c68f authored by brugger's avatar brugger

I corrected a bad fix for a warning. This will fix the test suite failure
for operators/persistent_particles.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23795 18c085ea-50e0-402c-830e-de6fd14e8384
parent 4cfa9913
......@@ -577,6 +577,7 @@ int vtkConnectedTubeFilter::RequestData(
if (seq.length == 1)
continue;
double prev_dir[3] = {0., 0., 0.}, prev_v1[3], prev_v2[3];
for (int i=0; i<seq.length; i++)
{
bool firstPoint = (i==0);
......@@ -589,7 +590,6 @@ int vtkConnectedTubeFilter::RequestData(
// Use a centered difference approximation for direction
double v0[3], v1[3], v2[3], dir[3], pt[3];
double prev_dir[3] = {0., 0., 0.}, prev_v1[3], prev_v2[3];
inPts->GetPoint(ix2, v2);
inPts->GetPoint(ix1, v1);
vtkMath::Subtract(v2, v1, dir);
......
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