Skip to content
Snippets Groups Projects
Commit e3cb38a1 authored by Mathieu Westphal (Kitware)'s avatar Mathieu Westphal (Kitware) :zap: Committed by Kitware Robot
Browse files

Merge topic 'vtkPLYReader_RGBA_scalar_array_fix'


2d2993db Fix RGBA color scalar array name in vtkPLYReader

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Tested-by: default avatarbuildbot <buildbot@kitware.com>
Reviewed-by: default avatarMathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !11944
parents 9ef10bdc 2d2993db
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ int vtkPLYReader::RequestData(vtkInformation* vtkNotUsed(request),
rgbCells->SetNumberOfComponents(3);
}
output->GetCellData()->AddArray(rgbCells);
output->GetCellData()->SetActiveScalars("RGB");
output->GetCellData()->SetActiveScalars(rgbCells->GetName());
}
bool rgbPointsAvailable = false;
......
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