Skip to content
Snippets Groups Projects
Commit 785fa0f0 authored by Andrew Bauer's avatar Andrew Bauer Committed by Kitware Robot
Browse files

Merge topic 'xmlunstructureddatawriter'


e84d13a9 Fixing null pointer dereferencing.

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1648
parents a876003d e84d13a9
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