]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020845: EDF 1376 GUI : More shortcuts
authorvsr <vsr@opencascade.com>
Tue, 23 Nov 2010 13:18:05 +0000 (13:18 +0000)
committervsr <vsr@opencascade.com>
Tue, 23 Nov 2010 13:18:05 +0000 (13:18 +0000)
Small correction: transparency <= 0.05 is ignored in OCC

src/GEOMToolsGUI/GEOMToolsGUI_1.cxx

index 7706ab3c9f154bc479b04ee80d9bfe63014ca482..9efec8b19a1d4683cafae981648eecf39cf76aef 100644 (file)
@@ -419,7 +419,7 @@ void GEOMToolsGUI::OnChangeTransparency( bool increase )
     return;
 
   // Delta
-  float delta = 0.01;
+  float delta = 0.1; // VSR: 23/11/2010 (transparency value <= 0.05 is ignored)
   if ( !increase )
     delta *= -1;