From 0c376ce4020b8926901c4bbc98fdb576b6a8cfba Mon Sep 17 00:00:00 2001 From: Spiros Tsalikis Date: Wed, 14 Dec 2022 10:11:37 -0500 Subject: [PATCH] vtkRedistrubiteDataSetFilter: Set vtkExtractCells precision to double vtkExtractCells used to always output double type of points. Recently and OutputPointsPrecision flag was added that makes that configurable. The default for vtkPointSet subclasses is the same as the input. This created an error which this commit addresses. --- Filters/ParallelDIY2/vtkRedistributeDataSetFilter.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Filters/ParallelDIY2/vtkRedistributeDataSetFilter.cxx b/Filters/ParallelDIY2/vtkRedistributeDataSetFilter.cxx index 29ff30fdb7bc..40e37255c6ab 100644 --- a/Filters/ParallelDIY2/vtkRedistributeDataSetFilter.cxx +++ b/Filters/ParallelDIY2/vtkRedistributeDataSetFilter.cxx @@ -911,6 +911,7 @@ vtkSmartPointer vtkRedistributeDataSetFilter::SplitDataSe vtkNew extractor; extractor->SetInputDataObject(clone); + extractor->SetOutputPointsPrecision(vtkAlgorithm::DOUBLE_PRECISION); for (size_t region_idx = 0; region_idx < region_cell_ids.size(); ++region_idx) { -- GitLab