Commit ed2881be authored by Jeff Baumes's avatar Jeff Baumes Committed by Kitware Robot
Browse files

Merge topic 'tulip-reader-enhancements'

969532d8 BUG: testEmptyInput requires filter to work with null points
parents 45caccca 969532d8
......@@ -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