From bc0447ec0087304ed4980b789a3c4d41daa8e4d5 Mon Sep 17 00:00:00 2001 From: Roxana Bujack Date: Tue, 7 Nov 2023 11:56:37 -0700 Subject: [PATCH] only remove blanked cells if the number of cells matches the ghost array --- vtkm/rendering/Triangulator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);