Porting to VTK8.1

This commit is contained in:
Anthony Geay 2017-12-28 12:04:16 +01:00
parent 1a94b887a2
commit ecc6a84a63

View File

@ -557,7 +557,8 @@ int SMESH_ScalarBarActor::RenderOpaqueGeometry(vtkViewport *viewport)
} }
//polygons & cell colors //polygons & cell colors
unsigned char *rgba, *rgb; unsigned char *rgb;
const unsigned char *rgba;
vtkIdType ptIds[4], dcCount=0; vtkIdType ptIds[4], dcCount=0;
for ( i = 0; i < numColors; i++ ) for ( i = 0; i < numColors; i++ )
{ {