From: ouv Date: Wed, 12 Oct 2005 12:11:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: BR-D5-38-2003_D2005-12-10~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4040863426e46cea938d7219618bec66698ac3ed;p=modules%2Fvisu.git *** empty log message *** --- diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 73ed5300..58f1fe48 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -517,10 +517,10 @@ VisuGUI_Module setPreferenceProperty( infoWindowGr, "columns", 1 ); int transparencyPref = addPreference( tr( "VISU_PICKING_PREF_TRANSPARENCY" ), infoWindowGr, - SalomeApp_Preferences::DblSpin, "VISU", "picking_transparency" ); - setPreferenceProperty( transparencyPref, "min", 0.0 ); - setPreferenceProperty( transparencyPref, "max", 1.0 ); - setPreferenceProperty( transparencyPref, "step", 0.1 ); + SalomeApp_Preferences::IntSpin, "VISU", "picking_transparency" ); + setPreferenceProperty( transparencyPref, "min", 0 ); + setPreferenceProperty( transparencyPref, "max", 100 ); + setPreferenceProperty( transparencyPref, "step", 10 ); int positionPref = addPreference( tr( "VISU_GAUSS_PREF_POSITION" ), infoWindowGr, SalomeApp_Preferences::Selector, "VISU", "picking_position" );