]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Porting to VTK8.1
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 28 Dec 2017 11:04:16 +0000 (12:04 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 28 Dec 2017 11:04:16 +0000 (12:04 +0100)
src/OBJECT/SMESH_ScalarBarActor.cxx

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