Commit 969532d8 authored by Jeff Baumes's avatar Jeff Baumes
Browse files

BUG: testEmptyInput requires filter to work with null points

Change-Id: Id0192a8e8ce4f30bda470688fba95fd33d124c47
parent 4be693d1
......@@ -238,6 +238,11 @@ int vtkConvexHull2D::RequestData(vtkInformation *vtkNotUsed(request),
vtkPolyData* input = vtkPolyData::SafeDownCast(
inInfo->Get(vtkDataObject::DATA_OBJECT()));
vtkPoints* inputPoints = input->GetPoints();
if (!inputPoints)
{
vtkErrorMacro("Input points needed");
return 0;
}
vtkInformation *outInfo0 = outputVector->GetInformationObject(0);
vtkInformation *outInfo1 = outputVector->GetInformationObject(1);
......
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