only remove blanked cells if the number of cells matches the ghost array
This commit is contained in:
parent
2955b834e7
commit
bc0447ec00
@ -704,7 +704,8 @@ public:
|
||||
}
|
||||
|
||||
// removed blanked triangles
|
||||
if (ghostField.GetNumberOfValues() > 0)
|
||||
// TODO: this currently excludes unstructured data that was triangulated
|
||||
if (ghostField.GetNumberOfValues() == outputTriangles)
|
||||
{
|
||||
vtkm::cont::ArrayHandle<vtkm::Id4> nonGhostTriangles;
|
||||
nonGhostTriangles.Allocate(outputTriangles);
|
||||
|
Loading…
Reference in New Issue
Block a user