X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMESHGUI%2FSMESHGUI_TransparencyDlg.cxx;h=d95676d19b1c88a8d74c2f169eef8a31e7481e02;hb=3dd9e6ddb38af2ffe09437e323d83ca3aea1b653;hp=a1af1de19be72ecc7e920fb93d756c9464a72fd0;hpb=a274ade365bd0f0e19d56c577acc4a13aa1972a7;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx index a1af1de19..d95676d19 100644 --- a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx @@ -197,7 +197,8 @@ void SMESHGUI_TransparencyDlg::SetTransparency() { if ( myViewWindow ) { SUIT_OverrideCursor wc; - float opacity = ( 100 - Slider1->value() ) / 100.; + //float opacity = ( 100.f - Slider1->value() ) / 100.; + float opacity = float( 100 - Slider1->value() ) / 100.; SALOME_ListIO aList; mySelectionMgr->selectedObjects( aList );