From: ouv Date: Mon, 3 Oct 2005 12:42:59 +0000 (+0000) Subject: Maximum number of scalar bar colors set to 256 X-Git-Tag: BR-D5-38-2003_D2005-12-10~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e352925fb18e91490cdd8c698b8d5f28cfdff3f6;p=modules%2Fvisu.git Maximum number of scalar bar colors set to 256 --- 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 );