Commit e9e8979b authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot

Merge topic 'fix-ghost-cell-generator-crash'

1d9ab19e fix a crash in surface filter on the output of ghostcell filter
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4752
parents 318dd7f0 1d9ab19e
......@@ -837,7 +837,12 @@ void vtkPUnstructuredGridGhostCellsGenerator::ExtractAndSendGhostCells(
extractCells->SetCellList(cellIdsList);
extractCells->Update();
vtkUnstructuredGrid* extractGrid = extractCells->GetOutput();
extractGrid->GetCellData()->RemoveArray("vtkOriginalCellIds");
//There might be case where the originalcellids needs to be removed
//but there are definitely cases where it shouldn't.
//So if you run into that case, think twice before you uncomment this
//next line and look carefully at paraview issue #18470
//extractGrid->GetCellData()->RemoveArray("vtkOriginalCellIds");
// Send the extracted grid to the neighbor rank asynchronously
if (vtkCommunicator::MarshalDataObject(extractGrid, c.SendBuffer))
......
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