Commit 8e1e6e06 authored by George Zagaris's avatar George Zagaris
Browse files

ENH: Add set scalars after adding the array

parent 27c15d9e
......@@ -157,6 +157,7 @@ void TransferSolution( vtkUniformGrid *g, vtkHierarchicalBoxDataSet *amrds )
da->SetNumberOfComponents( 1 );
da->SetNumberOfTuples( g->GetNumberOfPoints() );
g->GetPointData()->AddArray( da );
g->GetPointData()->SetScalars( da );
vtkIdType pIdx = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment