From f21c3275634fd53d17cc00a4641117e7bd635052 Mon Sep 17 00:00:00 2001 From: Dave Pugmire Date: Thu, 4 Aug 2022 12:51:15 -0400 Subject: [PATCH] Bug fix... set cellId for return. --- vtkm/exec/CellLocatorTwoLevel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vtkm/exec/CellLocatorTwoLevel.h b/vtkm/exec/CellLocatorTwoLevel.h index 5f4dd7f65..671df475d 100644 --- a/vtkm/exec/CellLocatorTwoLevel.h +++ b/vtkm/exec/CellLocatorTwoLevel.h @@ -178,6 +178,7 @@ public: this->PointInCell(point, lastCell2L.CellId, pc) == vtkm::ErrorCode::Success) { parametric = pc; + cellId = lastCell2L.CellId; return vtkm::ErrorCode::Success; }