diff --git a/vtkm/rendering/Triangulator.h b/vtkm/rendering/Triangulator.h index 90d3987ca..42152ee08 100644 --- a/vtkm/rendering/Triangulator.h +++ b/vtkm/rendering/Triangulator.h @@ -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 nonGhostTriangles; nonGhostTriangles.Allocate(outputTriangles);