]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Maximum number of scalar bar colors set to 256
authorouv <ouv@opencascade.com>
Mon, 3 Oct 2005 12:42:59 +0000 (12:42 +0000)
committerouv <ouv@opencascade.com>
Mon, 3 Oct 2005 12:42:59 +0000 (12:42 +0000)
src/VISUGUI/VisuGUI.cxx

index 5d67cbe38e0b75ed551f664d57ec0afd2845f817..3b6293816d5b2afb5f259efe6699a02bb277973d 100644 (file)
@@ -2773,7 +2773,7 @@ void VisuGUI::createPreferences()
 
   int numcol = addPreference( tr( "VISU_NB_COLORS" ), colorsLabelsGr, SalomeApp_Preferences::IntSpin, "VISU", "scalar_bar_num_colors" );
   setPreferenceProperty( numcol, "min", 2 );
-  setPreferenceProperty( numcol, "max", 64 );
+  setPreferenceProperty( numcol, "max", 256 );
 
   int numlab = addPreference( tr( "VISU_NB_LABELS" ), colorsLabelsGr, SalomeApp_Preferences::IntSpin, "VISU", "scalar_bar_num_labels" );
   setPreferenceProperty( numlab, "min", 2 );