]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
*** empty log message ***
authorouv <ouv@opencascade.com>
Wed, 12 Oct 2005 12:11:42 +0000 (12:11 +0000)
committerouv <ouv@opencascade.com>
Wed, 12 Oct 2005 12:11:42 +0000 (12:11 +0000)
src/VISUGUI/VisuGUI_Module.cxx

index 73ed530000f9ec07a28519de7bbb44440a01643b..58f1fe487d022ad3876a244c24c804e020b8d725 100644 (file)
@@ -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" );