Commit 4967ed9a authored by Ken Martin's avatar Ken Martin
Browse files

minor fix in preprocessing

parent 8e8f998d
...@@ -146,7 +146,7 @@ void vtkContourFilter::Execute() ...@@ -146,7 +146,7 @@ void vtkContourFilter::Execute()
{ {
int dim = this->Input->GetCell(0)->GetCellDimension(); int dim = this->Input->GetCell(0)->GetCellDimension();
#if USE_PATENTED #ifdef USE_PATENTED
if ( this->Input->GetCell(0)->GetCellDimension() >= 2 ) if ( this->Input->GetCell(0)->GetCellDimension() >= 2 )
{ {
this->StructuredPointsContour(dim); this->StructuredPointsContour(dim);
...@@ -230,7 +230,7 @@ void vtkContourFilter::StructuredPointsContour(int dim) ...@@ -230,7 +230,7 @@ void vtkContourFilter::StructuredPointsContour(int dim)
vtkPolyData *thisOutput = (vtkPolyData *)this->Output; vtkPolyData *thisOutput = (vtkPolyData *)this->Output;
int i; int i;
#if USE_PATENTED #ifdef USE_PATENTED
if ( dim == 2 ) //marching squares if ( dim == 2 ) //marching squares
{ {
static vtkMarchingSquares msquares; static vtkMarchingSquares msquares;
......
Supports Markdown
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