Skip to content

vtkWebGLPolyData color mode fix

Louis Amore requested to merge alouis/vtk:fixed-colors-webglpolydata into master

Fixed a bug in vtkWebGLPolyData where the colors were always mapped, regardless of the color mode. In GetColorsFromPointData(), the second argument of vtkScalarsToColors->MapScalars() is supposed to be the mapper's color mode, not the vector mode.

@jpouderoux @bjacquet

Merge request reports