From: rnv Date: Thu, 26 May 2011 12:49:33 +0000 (+0000) Subject: Fix for the bug "IPAL22513 TC6.3.0: Post-Pro Preferences - Picking: Used Information... X-Git-Tag: BR_Dev_For_6_3_120110530~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0cb044f9c8aaf2f48376b55f2f4602c75f9a783;p=modules%2Fvisu.git Fix for the bug "IPAL22513 TC6.3.0: Post-Pro Preferences - Picking: Used Information Window Transparency value is less than in preferences one" --- diff --git a/src/VISUGUI/VisuGUI_SelectionPrefDlg.cxx b/src/VISUGUI/VisuGUI_SelectionPrefDlg.cxx index 486d5957..8e90e8c7 100644 --- a/src/VISUGUI/VisuGUI_SelectionPrefDlg.cxx +++ b/src/VISUGUI/VisuGUI_SelectionPrefDlg.cxx @@ -230,7 +230,8 @@ void VisuGUI_SelectionPrefDlg::update() ( int )( aColor[2] * 255.0 ) ) ); myInfoWindowGroup->setChecked( aPickingSettings->GetInfoWindowEnabled() ); - myTransparencySpinBox->setValue( int(aPickingSettings->GetInfoWindowTransparency() * 100.0) ); + vtkFloatingPointType transparency = aPickingSettings->GetInfoWindowTransparency() * 100.0; + myTransparencySpinBox->setValue( (int) transparency ); myPositionComboBox->setCurrentIndex( aPickingSettings->GetInfoWindowPosition() ); myCameraGroup->setChecked( aPickingSettings->GetCameraMovementEnabled() ); myZoomFactorSpinBox->setValue( aPickingSettings->GetZoomFactor() );