Commit b31324d2 authored by George Zagaris's avatar George Zagaris
Browse files

BUGFIX: Add NULL grid to MultiPiece

NULL grids were catched and not added in the
MultiPiece data-set. This was primarilly done
for distributed data-sets where each process
has the data it owns and only has metadata for all
other processes. However, this was causing problems
since the required metadata object (vtkInformation)
was not being built unless the data (null or not)
was actually added to the internal data-structure.
parent 598ab44d
......@@ -146,12 +146,7 @@ void vtkHierarchicalBoxDataSet::SetDataSet(
if (levelDS)
// If this dataSet != NULL, i.e., it is owned by this process
if( dataSet != NULL )
levelDS->SetPiece(id, dataSet);
vtkInformation* info = levelDS->GetMetaData(id);
if (info)
......@@ -180,6 +175,7 @@ void vtkHierarchicalBoxDataSet::SetDataSet(
vtkErrorMacro( "Metadata object is NULL!!!!" );
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