Commit a61a1e68 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Added more debug info.

parent 7b2514f1
......@@ -125,9 +125,18 @@ void vtkUGFacetReader::Execute()
}
// update output
vtkDebugMacro(<<"Read "
<< newPolys->GetNumberOfCells() << " triangles, "
<< newPoints->GetNumberOfPoints() << " points.");
output->SetPoints(newPoints);
newPoints->Delete();
output->GetPointData()->SetNormals(newNormals);
newNormals->Delete();
output->SetPolys(newPolys);
newPolys->Delete();
output->Squeeze();
}
......
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