mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
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