Commit 33a2b680 authored by js9's avatar js9

fixing bug with 2d data sets and removing debug code


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@9989 18c085ea-50e0-402c-830e-de6fd14e8384
parent b606f780
......@@ -440,7 +440,7 @@ vtkVisItClipper::Execute()
pts_ptr = (float*)sg->GetPoints()->GetVoidPointer(0);
}
bool twoD = (pt_dims[2] <= 1);
twoD = (pt_dims[2] <= 1);
cell_dims[0] = pt_dims[0]-1;
cell_dims[1] = pt_dims[1]-1;
cell_dims[2] = pt_dims[2]-1;
......@@ -473,11 +473,6 @@ vtkVisItClipper::Execute()
GeneralExecute();
}
cerr << "rg="<<rg<<endl;
cerr << "sg="<<sg<<endl;
cerr << "ug="<<ug<<endl;
cerr << "pg="<<pg<<endl;
int ptSizeGuess = (CellList == NULL
? (int) pow(float(nCells), 0.6667f) * 5 + 100
: CellListSize*5 + 100);
......
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