Commit f2327f6f authored by Kyle Lutz's avatar Kyle Lutz Committed by Code Review

Merge topic 'fix-scalars-to-colors' into master

e32a2935 Fix bug in vtkScalarsToColorsPainter when passing attributes
parents d0577df8 e32a2935
......@@ -213,8 +213,8 @@ vtkDataObject* vtkScalarsToColorsPainter::NewClone(vtkDataObject* data)
// scalars passed thru this filter are colors, which will be buit in
// the pre-rendering stage.
clone->GetCellData()->SetActiveAttribute(-1, vtkDataSetAttributes::SCALARS);
clone->GetPointData()->SetActiveAttribute(-1, vtkDataSetAttributes::SCALARS);
// field data is only passed when coloring
// TriangleStrips with colors for each triangle.
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