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; }