From e8abed47ddbe3165daf1f40f4809988c82bee22f Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 17 Dec 2015 15:38:56 +0100 Subject: [PATCH] Porting PV50 --- src/OBJECT/SMESH_ScalarBarActor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OBJECT/SMESH_ScalarBarActor.h b/src/OBJECT/SMESH_ScalarBarActor.h index 6bcd2fb5a..77546227f 100644 --- a/src/OBJECT/SMESH_ScalarBarActor.h +++ b/src/OBJECT/SMESH_ScalarBarActor.h @@ -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: -- 2.39.2