Skip to content
Snippets Groups Projects
Commit e84d13a9 authored by Andrew Bauer's avatar Andrew Bauer
Browse files

Fixing null pointer dereferencing.

parent 9fcbac09
No related branches found
No related tags found
No related merge requests found
......@@ -595,7 +595,10 @@ void vtkXMLUnstructuredDataWriter::WriteCellsInline(const char* name,
vtkIdTypeArray* faces, vtkIdTypeArray* faceOffsets,
vtkIndent indent)
{
this->ConvertCells(cells);
if(cells)
{
this->ConvertCells(cells);
}
this->ConvertFaces(faces, faceOffsets);
this->WriteCellsInlineWorker(name, types, indent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment