From d0cb044f9c8aaf2f48376b55f2f4602c75f9a783 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 26 May 2011 12:49:33 +0000 Subject: [PATCH] Fix for the bug "IPAL22513 TC6.3.0: Post-Pro Preferences - Picking: Used Information Window Transparency value is less than in preferences one" --- src/VISUGUI/VisuGUI_SelectionPrefDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ); -- 2.39.2