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: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1648
parents a876003d e84d13a9
......@@ -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);
......
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