Commit 3834bae6 authored by Francois Bertel's avatar Francois Bertel
Browse files

ENH:Removed call to GetOutput(), use output argument instead

parent 3c4cb9db
......@@ -50,7 +50,7 @@ struct vtkFastGeomQuadStruct
struct vtkFastGeomQuadStruct *Next;
};
vtkCxxRevisionMacro(vtkDataSetSurfaceFilter, "1.46");
vtkCxxRevisionMacro(vtkDataSetSurfaceFilter, "1.47");
vtkStandardNewMacro(vtkDataSetSurfaceFilter);
//----------------------------------------------------------------------------
......@@ -235,7 +235,7 @@ int vtkDataSetSurfaceFilter::StructuredExecute(vtkDataSet *input,
}
outPoints = vtkPoints::New();
outPoints->Allocate(numPoints);
this->GetOutput()->SetPoints(outPoints);
output->SetPoints(outPoints);
outPoints->Delete();
// Allocate attributes for copying.
......
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