From e352925fb18e91490cdd8c698b8d5f28cfdff3f6 Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 3 Oct 2005 12:42:59 +0000 Subject: [PATCH] Maximum number of scalar bar colors set to 256 --- src/VISUGUI/VisuGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 5d67cbe3..3b629381 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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 ); -- 2.39.2