Skip to content
Snippets Groups Projects
Commit 4a6cbec8 authored by Aron Helser's avatar Aron Helser Committed by Mathieu Westphal (Kitware)
Browse files

vtkExtractEdges with UseAllPoints - don't promote cell arrays

Fixes a case where a pedigree ID cell array was being changed from
int to float.

Fix #19013
parent cabe5359
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,8 @@ struct ExtractEdges
{
ArrayList cellArrays;
this->OutCD->CopyAllocate(this->InCD, totalEdges);
cellArrays.AddArrays(totalEdges, this->InCD, this->OutCD);
cellArrays.AddArrays(
totalEdges, this->InCD, this->OutCD, /*nullValue*/ 0.0, /*promote*/ false);
vtkSMPTools::For(
0, totalEdges, [&edgeOffsets, &edges, &cellArrays](vtkIdType edgeId, vtkIdType endEdgeId) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment