Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #20256: [CEA 18523] Porting SMESH to int 64 bits
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_TransparencyDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
index a1af1de19be72ecc7e920fb93d756c9464a72fd0..d95676d19b1c88a8d74c2f169eef8a31e7481e02 100644
(file)
--- 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;
{
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 );
SALOME_ListIO aList;
mySelectionMgr->selectedObjects( aList );