Salome HOME
Porting PV50
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 17 Dec 2015 14:38:56 +0000 (15:38 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 17 Dec 2015 14:38:56 +0000 (15:38 +0100)
src/OBJECT/SMESH_ScalarBarActor.h

index 6bcd2fb5a1097d1c8b7215d05b674c23a0e63e01..77546227f5b99dbca90cd7704d1657eaf1b420a7 100644 (file)
@@ -122,7 +122,7 @@ class SMESHOBJECT_EXPORT SMESH_ScalarBarActor: public vtkActor2D {
   // Set/Get the maximum number of scalar bar segments to show. This may
   // differ from the number of colors in the lookup table, in which case
   // the colors are samples from the lookup table.
-  vtkSetClampMacro(MaximumNumberOfColors, int, 2, VTK_LARGE_INTEGER);
+  vtkSetClampMacro(MaximumNumberOfColors, int, 2, VTK_INT_MAX);
   vtkGetMacro(MaximumNumberOfColors, int);
   
   // Description: